aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorGuy Harris <guy@alum.mit.edu>2011-05-17 00:08:47 +0000
committerGuy Harris <guy@alum.mit.edu>2011-05-17 00:08:47 +0000
commit91200c27a3c367465d02f23a0b9e6bd8f79297d6 (patch)
tree86c86229d96a768b2dbb2ebbefdc069a281053ae /dumpcap.c
parentbf271ce2d0850f0ee6791f9a8f71cc68730bdaa0 (diff)
Dear GLib Developers:
Thank you very much for using "gulong" rather than "gsize" as the "buffer length" argument to g_snprintf(), the fact that the corresponding argument to snprintf() is a size_t nonwithstanding. Developers building for LLP64 platforms such as Win32 greatly appreciate this decision. svn path=/trunk/; revision=37195
Diffstat (limited to 'dumpcap.c')
-rw-r--r--dumpcap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/dumpcap.c b/dumpcap.c
index 22bc416b86..40c27cec48 100644
--- a/dumpcap.c
+++ b/dumpcap.c
@@ -2231,7 +2231,7 @@ capture_loop_open_input(capture_options *capture_opts, loop_data *ld,
#endif
if ((use_threads == FALSE) &&
(capture_opts->ifaces->len > 1)) {
- g_snprintf(errmsg, errmsg_len,
+ g_snprintf(errmsg, (gulong) errmsg_len,
"Using threads is required for capturing on mulitple interfaces! Use the -t option.");
return FALSE;
}