[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [or-cvs] There is no need to cast void* to other pointer types.
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@watson.org
arr@FreeBSD.org