diff options
author | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-08-26 19:33:23 +0200 |
---|---|---|
committer | Lars-Dominik Braun <PromyLOPh@gmail.com> | 2008-08-26 19:33:23 +0200 |
commit | 6261a865d94f28b2fb6f06716178e22192176e17 (patch) | |
tree | 34bbc4159fdf33a356252bf2b6db8723927b3053 /libwardrobe | |
parent | 10159b75fe52251bf5a98ded557ea1dda28ac06c (diff) | |
download | pianobar-6261a865d94f28b2fb6f06716178e22192176e17.tar.gz pianobar-6261a865d94f28b2fb6f06716178e22192176e17.tar.bz2 pianobar-6261a865d94f28b2fb6f06716178e22192176e17.zip |
Silence curl's attribute warnings
Diffstat (limited to 'libwardrobe')
-rw-r--r-- | libwardrobe/src/main.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libwardrobe/src/main.c b/libwardrobe/src/main.c index aa3336a..abf669d 100644 --- a/libwardrobe/src/main.c +++ b/libwardrobe/src/main.c @@ -71,7 +71,7 @@ void WardrobeHttpGet (CURL *ch, const char *url, char **retData) { curl_easy_setopt (ch, CURLOPT_URL, url); curl_easy_setopt (ch, CURLOPT_HTTPGET, 1L); curl_easy_setopt (ch, CURLOPT_WRITEFUNCTION, WardrobeCurlRetToVar); - curl_easy_setopt (ch, CURLOPT_WRITEDATA, curlRet); + curl_easy_setopt (ch, CURLOPT_WRITEDATA, (void *) curlRet); curl_easy_perform (ch); @@ -94,7 +94,7 @@ void WardrobeHttpPost (CURL *ch, const char *url, const char *postData, curl_easy_setopt (ch, CURLOPT_URL, url); curl_easy_setopt (ch, CURLOPT_POSTFIELDS, postData); curl_easy_setopt (ch, CURLOPT_WRITEFUNCTION, WardrobeCurlRetToVar); - curl_easy_setopt (ch, CURLOPT_WRITEDATA, curlRet); + curl_easy_setopt (ch, CURLOPT_WRITEDATA, (void *) curlRet); curl_easy_perform (ch); |