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:
Guy Harris 2011-05-17 00:08:47 +00:00
parent bf271ce2d0
commit 91200c27a3
1 changed files with 1 additions and 1 deletions

View File

@ -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;
}