diff options
Diffstat (limited to 'libwardrobe/src/main.c')
-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); |