Am 12.08.12 18:44, schrieb Aaron W. Hsu:
> Marc Balmer <m...@msys.ch> writes:
> 
>> A possible solution could be to use long instead of int, as sizeof(long)
>> == sizeof(void *) on 32bit and 64bit linux.  But if such values are used
>> in externalized binary form somewhere (tooltalk?) it might lead to
>> incompatabilities.
> 
> This is not really future portable, and I would prefer to do this the 
> correct way rather than just fudging it. Is there a reason we are not 
> using pointer types here and are instead using integer types?

Well, I only pointed at one solution.  Of course changing
integers-used-as-pointers to real pointers is a far better solution, I
totally agree with you.



------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
cdesktopenv-devel mailing list
cdesktopenv-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cdesktopenv-devel

Reply via email to