diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-12-05 10:34:01 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-12-05 10:34:01 +0000 |
commit | 1ce4e812928933e404e2692c534d96b7f893039c (patch) | |
tree | 1ccf40dc41dfd7ef02c0970e10f22cce05df13bf | |
parent | 3af2d0708a3a73e224de8982ea7a8369d991192e (diff) | |
download | wireshark-1ce4e812928933e404e2692c534d96b7f893039c.tar.gz |
Use G_GINT64_MODIFIER to print gint64's and guint64's.
svn path=/trunk/; revision=23767
-rw-r--r-- | tap-afpstat.c | 2 | ||||
-rw-r--r-- | tap-dcerpcstat.c | 2 | ||||
-rw-r--r-- | tap-iousers.c | 2 |
3 files changed, 3 insertions, 3 deletions
diff --git a/tap-afpstat.c b/tap-afpstat.c index 704b1716ab..43bffbc5b9 100644 --- a/tap-afpstat.c +++ b/tap-afpstat.c @@ -100,7 +100,7 @@ afpstat_draw(void *pss) td=0; } - printf("%-25s %6d %3d.%05d %3d.%05d %3" PRIu64 ".%05" PRIu64 "\n", + printf("%-25s %6d %3d.%05d %3d.%05d %3" G_GINT64_MODIFIER "u.%05" G_GINT64_MODIFIER "u\n", val_to_str(i, CommandCode_vals, "Unknown (%u)"), ss->proc[i].num, (int)ss->proc[i].min.secs,ss->proc[i].min.nsecs/10000, diff --git a/tap-dcerpcstat.c b/tap-dcerpcstat.c index 3fa638ea9e..1c4342975e 100644 --- a/tap-dcerpcstat.c +++ b/tap-dcerpcstat.c @@ -163,7 +163,7 @@ dcerpcstat_draw(void *prs) td=0; } - printf("%-25s %6d %3d.%05d %3d.%05d %3" PRIu64 ".%05" PRIu64 "\n", + printf("%-25s %6d %3d.%05d %3d.%05d %3" G_GINT64_MODIFIER "u.%05" G_GINT64_MODIFIER "u\n", rs->procedures[i].proc, rs->procedures[i].num, (int)rs->procedures[i].min.secs,rs->procedures[i].min.nsecs/10000, diff --git a/tap-iousers.c b/tap-iousers.c index d302c41824..ced4eb814e 100644 --- a/tap-iousers.c +++ b/tap-iousers.c @@ -567,7 +567,7 @@ iousers_draw(void *arg) tot_frames=iui->frames1+iui->frames2; if(tot_frames==last_frames){ - printf("%-20s <-> %-20s %6d %9" PRId64 " %6d %9" PRId64 " %6d %9" PRId64 "\n", + printf("%-20s <-> %-20s %6d %9" G_GINT64_MODIFIER "d %6d %9" G_GINT64_MODIFIER "d %6d %9" G_GINT64_MODIFIER "d\n", iui->name1, iui->name2, iui->frames1, iui->bytes1, iui->frames2, iui->bytes2, |