[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: [PATCH] Clean code to be 64bit clean

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2003-11-30 23:22:11 CET

Jani Averbach <jaa@jaa.iki.fi> writes:

> Moreover, in general long is only
> type that is supposed (in practice) to hold void *, but this is not
> required by standard, so you should not count on it everywhere.

It's a bit off-topic, but the ISO C 99 stdint.h header optionally
provides intptr_t and uintptr_t. When these types are provided it is
guaranteed that a void* can be cast to a [u]intptr_t and then cast
back to the original void* value.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sun Nov 30 23:22:43 2003

This is an archived mail posted to the Subversion Dev mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.