aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c
index 5827b5ed4..0618b6fbd 100644
--- a/src/main.c
+++ b/src/main.c
@@ -4118,7 +4118,7 @@ static CURLcode _my_setopt(CURL *curl, bool str, struct Configurable *config,
}
else {
curl_off_t oval = va_arg(arg, curl_off_t);
- snprintf(value, sizeof(value), "%" CURL_FORMAT_CURL_OFF_T, oval);
+ snprintf(value, sizeof(value), "(curl_off_t)%" CURL_FORMAT_CURL_OFF_T, oval);
ret = curl_easy_setopt(curl, tag, oval);
}