diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-12-06 08:33:46 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-12-06 08:33:46 +0000 |
commit | e1d5eaff72397238dde3ef5305507db8bc9dbe00 (patch) | |
tree | 9d574cf0392142735e42399fae4643173336476b /capinfos.c | |
parent | 924c1bbf711df6e1b4c882ae750cb9251442ae51 (diff) |
Use G_GINT64_MODIFIER rather than PRI[duox]64 to print gint64's and
guint64's.
svn path=/trunk/; revision=23782
Diffstat (limited to 'capinfos.c')
-rw-r--r-- | capinfos.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/capinfos.c b/capinfos.c index 232924297a..321a19172c 100644 --- a/capinfos.c +++ b/capinfos.c @@ -110,8 +110,8 @@ print_stats(capture_info *cf_info) if (cap_file_type) printf("File type: %s\n", file_type_string); if (cap_file_encap) printf("File encapsulation: %s\n", file_encap_string); if (cap_packet_count) printf("Number of packets: %u \n", cf_info->packet_count); - if (cap_file_size) printf("File size: %" PRId64 " bytes\n", cf_info->filesize); - if (cap_data_size) printf("Data size: %" PRIu64 " bytes\n", cf_info->packet_bytes); + if (cap_file_size) printf("File size: %" G_GINT64_MODIFIER "d bytes\n", cf_info->filesize); + if (cap_data_size) printf("Data size: %" G_GINT64_MODIFIER "u bytes\n", cf_info->packet_bytes); if (cap_duration) printf("Capture duration: %f seconds\n", cf_info->duration); if (cap_start_time) printf("Start time: %s", (cf_info->packet_count>0) ? ctime (&start_time_t) : "n/a\n"); if (cap_end_time) printf("End time: %s", (cf_info->packet_count>0) ? ctime (&stop_time_t) : "n/a\n"); |