forked from osmocom/wireshark
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
This commit is contained in:
parent
bf271ce2d0
commit
91200c27a3
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue