aboutsummaryrefslogtreecommitdiff
path: root/lib/strerror.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2005-03-14 15:43:23 +0000
committerDaniel Stenberg <daniel@haxx.se>2005-03-14 15:43:23 +0000
commit3916d1e6cbe8eb5cb4dbbc43690b44b0b8fe6cc1 (patch)
treef568b0c6ef6306fe4f2461ab61a559db5b320c04 /lib/strerror.c
parent387aaba810bc124be82c6459648d30d56b012d71 (diff)
silence compiler warnings for mingw win32 builds --enable-debug
Diffstat (limited to 'lib/strerror.c')
-rw-r--r--lib/strerror.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/strerror.c b/lib/strerror.c
index 0f0c0fff2..85baa635d 100644
--- a/lib/strerror.c
+++ b/lib/strerror.c
@@ -346,7 +346,7 @@ curl_share_strerror(CURLSHcode error)
static const char *
get_winsock_error (int err, char *buf, size_t len)
{
- char *p;
+ const char *p;
#ifndef CURL_DISABLE_VERBOSE_STRINGS
switch (err) {