On 04/12/2012 01:23 AM, TeeRasen wrote:
> In main.c we have
>           opt.progress_type = "dot";

In C, a string literal is of type char[] (which automatically transforms
to char*), not const char[] or const char* (even though one must still
not modify it. You're either compiling with C++ (a bad idea for wget
code), or a nonstandard C invocation that makes string literals out to
be const. (Though, a C implementation is allowed to "warn" about
whatever it wishes, provided it still behaves properly, I suppose.)

-mjc

Reply via email to