[or-cvs] There is no need to cast void* to other pointer types.

Andrew R. Reiter arr at watson.org
Thu Apr 8 16:00:51 UTC 2004


On Thu, 8 Apr 2004, Roger Dingledine wrote:

:On Wed, Apr 07, 2004 at 04:15:01PM -0400, Andrew R. Reiter wrote:
:> Hmm; any plans to support 64bit architectures?  If so, even if later on,
:> might be wise to cast to types that are safe, no?  like achar *
:
:I assume you made a typo here, and you mean char *. Nobody here has
:heard of an achar *. (Right?)

Obviously 'char *'.

:
:And void pointers should be perfectly safe for 64 bit archs. And we've
:been pretty good in the code about specify uint16_t when we mean 16 bits,
:uint32_t when we mean 32, etc.
:
:Who knows if we support 64 bit architectures. We don't have any users
:yet who want it. I'll worry about it when we do.
:

Gues that's how it always is :)  Ah well.  I'll let you get back to work
then.

--
Andrew R. Reiter
arr at watson.org
arr at FreeBSD.org



More information about the tor-dev mailing list