Skip to content
Snippets Groups Projects
Commit 0264faaa authored by Daniel Stenberg's avatar Daniel Stenberg
Browse files

fix compiler warning

parent 4022a60e
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment