Erik de Castro Lopo wrote: >> #define FLAC__U64L(x) x##ULL > > I like that one! If that works in VS2005 and later I see no reason to use > anything else.
MSVS 2005 Express compiles the code... #define FLAC__U64L(x) x##ULL int test = FLAC__U64L(0x1234567890); ... and generates 0 errors, 2 warnings: warning C4305: 'initializing' : truncation from 'unsigned __int64' to 'int' warning C4309: 'initializing' : truncation of constant value so it treats 0x1234567890ULL as 'unsigned __int64' constant. _______________________________________________ flac-dev mailing list flac-dev@xiph.org http://lists.xiph.org/mailman/listinfo/flac-dev