aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-11-18 07:23:50 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-11-18 07:23:50 +0000
commit0264faaa4e3679e1c38f4cbdc860b18f68f2efe7 (patch)
treea356d2382a0c790e674471b59828f24e97b7869f
parent4022a60ea7f88650f1b4abfe1e41c973cca7861d (diff)
fix compiler warning
-rw-r--r--lib/transfer.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/transfer.c b/lib/transfer.c
index 664a412bd..11a8f8463 100644
--- a/lib/transfer.c
+++ b/lib/transfer.c
@@ -2223,7 +2223,7 @@ CURLcode Curl_perform(struct SessionHandle *data)
* an error, use the strerror() string or if things are so bad that not
* even that is good, set a bad string that mentions the error code.
*/
- char *str = curl_easy_strerror(res);
+ const char *str = curl_easy_strerror(res);
if(!str)
failf(data, "unspecified error %d", (int)res);
else