diff options
author | Dan Fandrich <dan@coneharvesters.com> | 2011-03-09 14:02:42 -0800 |
---|---|---|
committer | Dan Fandrich <dan@coneharvesters.com> | 2011-03-09 14:02:42 -0800 |
commit | a9aeedcdbeba4bf305ab7e2bf9b76818381d384e (patch) | |
tree | 955b1915132c031c47a1c277ac370093db285d4e | |
parent | d6b9f76943cf3f2321ca8798dd4d8b863a756939 (diff) |
Force setopt constants written by --libcurl to be long
-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; |