[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.
- To: or-dev@freehaven.net
- Subject: Re: [or-cvs] There is no need to cast void* to other pointer types.
- From: Roger Dingledine <arma@mit.edu>
- Date: Thu, 8 Apr 2004 02:52:17 -0400
- Delivered-to: archiver@seul.org
- Delivered-to: or-dev-outgoing@seul.org
- Delivered-to: or-dev@seul.org
- Delivery-date: Thu, 08 Apr 2004 02:52:33 -0400
- In-reply-to: <20040407161414.P32646@fledge.watson.org>; from arr@watson.org on Wed, Apr 07, 2004 at 04:15:01PM -0400
- References: <20040407201130.415F533B4E@moria.seul.org> <20040407161414.P32646@fledge.watson.org>
- Reply-to: or-dev@freehaven.net
- Sender: owner-or-dev@freehaven.net
- User-agent: Mutt/1.2.5.1i
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.
--Roger