aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-07-01 14:06:44 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-07-01 14:06:44 +0000
commit5a93f50394ac3f64e94722a9a1ccf59ec81d6600 (patch)
tree16fb747033e26678fc62e542eadaebb8cbc844eb /src
parent60af1cbcc2a8c8782e8ec7c73995d009effea742 (diff)
typecase the argument to curl_easy_strerror() to a CURLcode to please
picky compilers
Diffstat (limited to 'src')
-rw-r--r--src/main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 6d8a21bf0..256a35e94 100644
--- a/src/main.c
+++ b/src/main.c
@@ -3457,7 +3457,8 @@ operate(struct Configurable *config, int argc, char *argv[])
#else
if((res!=CURLE_OK) && config->showerror) {
fprintf(config->errors, "curl: (%d) %s\n", (int)res,
- errorbuffer[0]? errorbuffer: curl_easy_strerror(res));
+ errorbuffer[0]? errorbuffer:
+ curl_easy_strerror((CURLcode)res));
if(CURLE_SSL_CACERT == res) {
#define CURL_CA_CERT_ERRORMSG1 \
"More details here: http://curl.haxx.se/docs/sslcerts.html\n\n" \