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

Roger Dingledine arma at mit.edu
Thu Apr 8 06:52:17 UTC 2004

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?)

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.


More information about the tor-dev mailing list