On Wed, 2006-10-18 at 17:44 +0100, Pedro Alves wrote:
> Hi all,
> 
> That warning about casting pointer to non pointer and vice-versa caused by:
> 
> /* A handle  is usually a void*, but we must guarantee 32-bit! */
>    typedef uint32_t  HANDLE;
> 
> ... is annoying.
> 
> Would it be possible to change it to something like this?
> 
> #ifdef __GNUC__
> 
>    typedef void*  HANDLE;
> #else
>    typedef uint32_t  HANDLE;
> #endif
> 
> I don't have a 64-bit system to test this, but it should force HANDLE to 32 
> bits.

What does __attribute__((mode(SI))) mean?

\David
-- 


-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Synce-devel mailing list
Synce-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/synce-devel

Reply via email to