forked from osmocom/wireshark
Use G_GINT64_MODIFIER to print gint64's and guint64's.
svn path=/trunk/; revision=23767
This commit is contained in:
parent
3af2d0708a
commit
1ce4e81292
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
|
@ -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,
|
||||
|
|
Loading…
Reference in New Issue