diff options
author | Guy Harris <guy@alum.mit.edu> | 2011-05-17 00:08:47 +0000 |
---|---|---|
committer | Guy Harris <guy@alum.mit.edu> | 2011-05-17 00:08:47 +0000 |
commit | 91200c27a3c367465d02f23a0b9e6bd8f79297d6 (patch) | |
tree | 86c86229d96a768b2dbb2ebbefdc069a281053ae /dumpcap.c | |
parent | bf271ce2d0850f0ee6791f9a8f71cc68730bdaa0 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; } |