13 Jul
2010
13 Jul
'10
4:58 p.m.
On Mon, Jul 12, 2010 at 19:45, Diego Biurrun <diego@biurrun.de> wrote:
I still get a large number of these, maybe you can fix them:
Hm, it seems my fix wasn't right and I'm not sure how to handle this correctly. UInt32 is defined as:
#if __LP64__ typedef unsigned int UInt32; #else typedef unsigned long UInt32; #endif
So it should be %u in 64bit and %lu on 32bit systems (which I guess is why the warnings disappeared for me but appeared for you). Should I just cast them to unsigned long and use %lu? Greetings Adrian