On Sun, 03 Jun 2007 15:03:14 -0400 Dennis Schridde 
<[EMAIL PROTECTED]> wrote:
>Am Sonntag, 3. Juni 2007 schrieb Ari Johnson:
>> On 6/3/07, Giel van Schijndel <[EMAIL PROTECTED]> wrote:
>> > Author: muggenhor
>> > Date: Sun Jun  3 17:51:56 2007
>> > New Revision: 1440
>> >
>> > URL: http://svn.gna.org/viewcvs/warzone?rev=1440&view=rev
>> > Log:
>> >  * turn some usages of WinAPI types (*WORD) into their native 
>C
>> > counterparts (e.g. int, unsigned int, etc.)
>>
>> Are you sure about that?  "Int" and "unsigned int" vary in size
>> according to the ABI.  It is far better to use integers of a 
>known
>> size that will not change according to the system you are on.
>> uint32_t and int32_t, for instance.
>As long as you stay on the same system that should not matter, 
>should it?
>Eg. if that "int" never reaches the borders of your system (via 
>file or 
>network), then it should be perfectly legal to use them...
>
>--Dennis

It would be much safer to use u/int32_t, since nobody knows all 
functions that are use by network code.  Then all 32 vs 64bit 
systems may have problems later on.

--
Click to get free info on kitchen remodeling at 50% - 70% off
http://tagline.hushmail.com/fc/CAaCXv1MQyEbZdLpv91jw1OiYAK4ALz5/





_______________________________________________
Warzone-dev mailing list
Warzone-dev@gna.org
https://mail.gna.org/listinfo/warzone-dev

Reply via email to