diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2012-01-28 22:12:57 +0100 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2012-01-28 22:12:57 +0100 |
commit | 2dd44ee3d7d0b20753c6dc1d019b1444dff1a59e (patch) | |
tree | 700e2ed03287d5f87930c7637ae205d09a98db83 /src/core/wee-url.c | |
parent | 50c120b29cae651eae17763246b2a4522cd33bfd (diff) | |
download | weechat-2dd44ee3d7d0b20753c6dc1d019b1444dff1a59e.zip |
core: fix compilation warning on curl_easy_setopt for option CURLOPT_FOLLOWLOCATION
Diffstat (limited to 'src/core/wee-url.c')
-rw-r--r-- | src/core/wee-url.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/wee-url.c b/src/core/wee-url.c index 422c03ccf..7bed1c49f 100644 --- a/src/core/wee-url.c +++ b/src/core/wee-url.c @@ -1070,7 +1070,7 @@ weeurl_download (const char *url, struct t_hashtable *options) /* set default options */ curl_easy_setopt (curl, CURLOPT_URL, url); - curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, "1"); + curl_easy_setopt (curl, CURLOPT_FOLLOWLOCATION, 1L); /* set file in/out from options in hashtable */ if (options) |