DragonFly submit List (threaded) for 2010-02
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]
evtranalyze: %llu -> %ju, (uintmax_t)
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
[
Date Prev][
Date Next]
[
Thread Prev][
Thread Next]
[
Date Index][
Thread Index]