diff options
-rw-r--r-- | src/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.c b/src/main.c index 8a1fab8bc..307070f8b 100644 --- a/src/main.c +++ b/src/main.c @@ -4186,7 +4186,7 @@ static CURLcode _my_setopt(CURL *curl, bool str, struct Configurable *config, if(tag < CURLOPTTYPE_OBJECTPOINT) { long lval = va_arg(arg, long); - snprintf(value, sizeof(value), "%ld", lval); + snprintf(value, sizeof(value), "%ldL", lval); ret = curl_easy_setopt(curl, tag, lval); if(!lval) skip = TRUE; |