1
0
mirror of https://github.com/moparisthebest/wget synced 2024-07-03 16:38:41 -04:00

Fix format specifier warning

* src/utils.c (aprintf): Use %d for int argument
This commit is contained in:
Tim Ruehsen 2015-05-03 21:18:47 +02:00
parent 0e6d6ca963
commit 6b8dfe1d6e

View File

@ -336,7 +336,7 @@ aprintf (const char *fmt, ...)
{ /* maybe we have some wrong { /* maybe we have some wrong
format string? */ format string? */
logprintf (LOG_ALWAYS, logprintf (LOG_ALWAYS,
_("%s: aprintf: text buffer is too big (%ld bytes), " _("%s: aprintf: text buffer is too big (%d bytes), "
"aborting.\n"), "aborting.\n"),
exec_name, size); /* printout a log message */ exec_name, size); /* printout a log message */
abort (); /* and abort... */ abort (); /* and abort... */