evtranalyze: %llu -> %ju, (uintmax_t)
Nuno Antunes
nuno.antunes at gmail.com
Fri Feb 12 17:23:32 PST 2010
Hi all,
I tried to buildworld on x86_64 but evtranalyze would break the build.
I made a few simple changes to correct the warnings (that were being
treated as errors). I tested on i386 and it compiled as well. I did no
functional test though.
The patch is here:
http://leaf.dragonflybsd.org/~nant/patches/evtranalyze.patch
I mostly replaced %llu by %ju and casted the respective printf
argument to (uintmax_t). The exception to this was in the sscanf,
where I used the PRI*/SCN* macros. Is there a better way to do this?
Cheers,
Nuno
More information about the Submit
mailing list