
30 Jul
2008
30 Jul
'08
1:34 p.m.
Haavard Skinnemoen haavard.skinnemoen@atmel.com wrote:
Fix the following warning on avr32 and, from the looks of it, all other architectures except arm, blackfin and mips.
cmd_bdinfo.c: In function 'do_bdinfo': cmd_bdinfo.c:367: warning: format '%d' expects type 'int', but argument 2 has type 'long unsigned int'
Ah, bugger. I completely misparsed that file -- do_bdinfo is supposed to be arch-specific, but avr32 uses the same implementation as MIPS for some arbitrary reason. So this patch just makes things worse.
Please ignore. I'll fix it some other way.
Btw, how about moving this stuff into an arch-specific file? lib_<arch>/bdinfo.c for example?
Haavard