aboutsummaryrefslogtreecommitdiff
path: root/primedev/scripts/scripthttprequesthandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'primedev/scripts/scripthttprequesthandler.cpp')
-rw-r--r--primedev/scripts/scripthttprequesthandler.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/primedev/scripts/scripthttprequesthandler.cpp b/primedev/scripts/scripthttprequesthandler.cpp
index aa75127a..69828a5a 100644
--- a/primedev/scripts/scripthttprequesthandler.cpp
+++ b/primedev/scripts/scripthttprequesthandler.cpp
@@ -320,11 +320,11 @@ template <ScriptContext context> int HttpRequestHandler::MakeHttpRequest(const H
bool isFirstValue = true;
for (const auto& kv : requestParameters.queryParameters)
{
- char* key = curl_easy_escape(curl, kv.first.c_str(), kv.first.length());
+ char* key = curl_easy_escape(curl, kv.first.c_str(), (int)kv.first.length());
for (const std::string& queryValue : kv.second)
{
- char* value = curl_easy_escape(curl, queryValue.c_str(), queryValue.length());
+ char* value = curl_easy_escape(curl, queryValue.c_str(), (int)queryValue.length());
if (isFirstValue && !bUrlContainsQuery)
{