Project

General

Profile

Actions

Bug #1673

closed

evtranalyze: %llu -> %ju, (uintmax_t)

Added by nant almost 15 years ago. Updated almost 15 years ago.

Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:

Description

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

Actions #1

Updated by nant almost 15 years ago

Committed in 46f0388c21aee32fddede47e8cfb69f01544c350.

Actions

Also available in: Atom PDF