Hi list.
Just built Wget (master) using clang-cl and noticed this important
warning:
http.c(874,11): warning:
ordered comparison between pointer and integer ('size_t' (aka 'unsigned int')
and 'char *')
if (len < buf)
~~~ ^ ~~~
For the line:
if (len < buf)
copy = buf;
(which should always be true).
Surely it should read:
if (len < sizeof(buf))
copy = buf;
--
--gv
