On Sun, 03 Jun 2007 15:03:14 -0400 Dennis Schridde 
>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 
>> > 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 
>> 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...

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

Warzone-dev mailing list

Reply via email to