Re: [Mingw-w64-public] 64-bit printf question...

2009-10-25 Thread Ozkan Sezer
On Sun, Oct 25, 2009 at 5:55 PM, David Cleaver wrote: > Hello, > > I'm having problems printing out values that are larger than 32 bits.  My > usual > printf using %llu only outputs the lower 32 bits of my 64-bit numbers. > > Here's an example program that produces incorrect output. > > #include

Re: [Mingw-w64-public] 64-bit printf question...

2009-10-25 Thread Kai Tietz
Hello David, 2009/10/25 David Cleaver : > Hello, > > I'm having problems printing out values that are larger than 32 bits.  My > usual > printf using %llu only outputs the lower 32 bits of my 64-bit numbers. > > Here's an example program that produces incorrect output. > > #include > > typedef u

[Mingw-w64-public] 64-bit printf question...

2009-10-25 Thread David Cleaver
Hello, I'm having problems printing out values that are larger than 32 bits. My usual printf using %llu only outputs the lower 32 bits of my 64-bit numbers. Here's an example program that produces incorrect output. #include typedef unsigned long long u64_t; int main(int argc, char* argv[])