curl-library
Re: warning during "make examples"
From: Tommie Gannert <tommie_at_spotify.com>
Date: Thu, 16 Dec 2010 12:43:18 +0100
Date: Thu, 16 Dec 2010 12:43:18 +0100
Brad Hards wrote:
> chkspeed.c:74:11: warning: passing argument 1 of ‘strtol’ from incompatible pointer type
>
> Is this what was meant?
> } else if (strncasecmp(*argv, "-M=", 3) == 0) {
> - long m = strtol(argv+3, NULL, 10);
> + long m = strtol((*argv)+3, NULL, 10);
Sounds very likely. :)
-- Tommie ------------------------------------------------------------------- List admin: http://cool.haxx.se/list/listinfo/curl-library Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2010-12-16