From: Daniel Stenberg Date: Mon, 7 Jun 2004 10:28:14 +0000 (+0000) Subject: prevent compiler warning with picky compilers X-Git-Tag: curl-7_12_1~321 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=f0969c96929ad83429a256725da7334f1d2cd530;p=thirdparty%2Fcurl.git prevent compiler warning with picky compilers --- diff --git a/lib/sendf.c b/lib/sendf.c index f6d2374af3..a4fbb51829 100644 --- a/lib/sendf.c +++ b/lib/sendf.c @@ -469,7 +469,7 @@ int Curl_debug(struct SessionHandle *data, curl_infotype type, int rc; if(data->set.printhost && host) { char buffer[160]; - char *t=NULL; + const char *t=NULL; switch (type) { case CURLINFO_HEADER_IN: case CURLINFO_DATA_IN: