diff --git a/src/client/http/Request.cpp b/src/client/http/Request.cpp index 17c1c911a..8698958a4 100644 --- a/src/client/http/Request.cpp +++ b/src/client/http/Request.cpp @@ -164,7 +164,7 @@ namespace http #endif else if (isPost) { - curl_easy_setopt(easy, CURLOPT_POST, 1); + curl_easy_setopt(easy, CURLOPT_POST, 1L); curl_easy_setopt(easy, CURLOPT_POSTFIELDS, ""); } else