summaryrefslogtreecommitdiff
path: root/file.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2007-05-29 18:52:42 +0000
committerGuy Harris <guy@alum.mit.edu>2007-05-29 18:52:42 +0000
commit5a43799a17572c9a9962dc76fd681a14bb7689de (patch)
tree362095c0935c7f6d8f0018b30fb612222ea70263 /file.c
parentbf167869027678071c584520fee3e95f88680116 (diff)
downloadwireshark-5a43799a17572c9a9962dc76fd681a14bb7689de.tar.gz
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.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/file.c b/file.c
index ca118abd17..46a37c52be 100644
--- a/file.c
+++ b/file.c
@@ -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);
}