aboutsummaryrefslogtreecommitdiffstats
path: root/dumpcap.c
diff options
context:
space:
mode:
authorguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-17 00:08:47 +0000
committerguy <guy@f5534014-38df-0310-8fa8-9805f1628bb7>2011-05-17 00:08:47 +0000
commit1b9ab8db0ca9a0a526db8a4b99040a68fc5d9571 (patch)
tree86c86229d96a768b2dbb2ebbefdc069a281053ae /dumpcap.c
parentc80a78288077c296d27b4137a771271d42da4eda (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. git-svn-id: http://anonsvn.wireshark.org/wireshark/trunk@37195 f5534014-38df-0310-8fa8-9805f1628bb7
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;
}