aboutsummaryrefslogtreecommitdiff
path: root/lib/strerror.c
diff options
context:
space:
mode:
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) {