mirror of
https://github.com/mirror/wget.git
synced 2025-03-05 23:30:35 +08:00
* src/main.c (print_version): Silence UBSAN message
This commit is contained in:
parent
4bdb09d3a7
commit
4188fcdced
@ -1263,7 +1263,7 @@ print_version (void)
|
|||||||
{
|
{
|
||||||
if (printf ("%s ", compiled_features[i]) < 0)
|
if (printf ("%s ", compiled_features[i]) < 0)
|
||||||
exit (WGET_EXIT_IO_FAIL);
|
exit (WGET_EXIT_IO_FAIL);
|
||||||
line_length -= strlen (compiled_features[i]) + 2;
|
line_length -= (int) strlen (compiled_features[i]) + 2;
|
||||||
i++;
|
i++;
|
||||||
}
|
}
|
||||||
if (printf ("\n") < 0)
|
if (printf ("\n") < 0)
|
||||||
|
Loading…
Reference in New Issue
Block a user