Page 1 of 1

Type definitions

PostPosted: 26 Oct 2010 12:32
by old_death

Re: Type definitions

PostPosted: 26 Oct 2010 14:25
by siavoshkc
As Shareaza is not portable and implemented only for x86 Windows and x64, that won't be a problem.

BTW this is exactly why they use typedefs. To change only one line of code to change the variable size. Or even not changing it by conditional compilation.

Re: Type definitions

PostPosted: 26 Oct 2010 17:32
by raspopov
Look at table "Sizes of Fundamental Types" here.

Re: Type definitions

PostPosted: 26 Oct 2010 17:43
by old_death