|
From: Keith M. <kei...@us...> - 2009-10-11 20:13:02
|
On Sunday 11 October 2009 20:32:23 Kai Tietz wrote: [OP's code *printing* only the low order 32-bits of 64-bit value] > Well, this reasoned by the fact, that msvcrt on XP is older then > on Vista and Windows7. The printf width specifier %ll isn't > available for pre 8.0 msvcrt runtimes... Unless you use the libmingwex.a alternative printf(), available since mingwrt-3.15; this supports both "%lld" and "%I64d" (or "%u" forms), and is selected by compiling with -posix or -ansi. -- Regards, Keith. |