diff options
author | Guy Harris <guy@alum.mit.edu> | 2007-05-29 18:52:42 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2007-05-29 18:52:42 +0000 |
commit | 5a43799a17572c9a9962dc76fd681a14bb7689de (patch) | |
tree | 362095c0935c7f6d8f0018b30fb612222ea70263 /file.c | |
parent | bf167869027678071c584520fee3e95f88680116 (diff) | |
download | wireshark-5a43799a17572c9a9962dc76fd681a14bb7689de.tar.gz wireshark-5a43799a17572c9a9962dc76fd681a14bb7689de.tar.bz2 wireshark-5a43799a17572c9a9962dc76fd681a14bb7689de.zip |
Use G_GINT64_MODIFIER, rather than the PRI[douxX]64 macros, for GLib
routines and routines using those routines. GLib might use different
modifiers for 64-bit quantities than the platform's C library does.
svn path=/trunk/; revision=21990
Diffstat (limited to 'file.c')
-rw-r--r-- | file.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -473,7 +473,7 @@ cf_read(capture_file *cf) #endif g_snprintf(status_str, sizeof(status_str), - "%" PRId64 "KB of %" PRId64 "KB", + "%" G_GINT64_MODIFIER "dKB of %" G_GINT64_MODIFIER "dKB", file_pos / 1024, size / 1024); update_progress_dlg(progbar, progbar_val, status_str); } @@ -1236,7 +1236,7 @@ cf_merge_files(char **out_filenamep, int in_file_count, } if (progbar != NULL) { g_snprintf(status_str, sizeof(status_str), - "%" PRId64 "KB of %" PRId64 "KB", + "%" G_GINT64_MODIFIER "dKB of %" G_GINT64_MODIFIER "dKB", file_pos / 1024, f_len / 1024); update_progress_dlg(progbar, progbar_val, status_str); } |