size_t usage in wine

Marko Nikolic grkoma at
Thu Jun 10 03:00:58 CDT 2010


I have found in wine documentation that it is recommended to avoid long data 
type, since it is different in Win64 and Unix64. This is reasonable, 
however, is there some similar policy regarding size_t/ssize_t usage?

Those types are often defined as long type, so they could produce the same 
problem with 64 bit. On the other hand, many standard functions expect or 
return size_t values, so I guess it could be ok to use it in such cases. Is 
there any advice/position on this?



More information about the wine-devel mailing list