# HG changeset patch # User Paper # Date 1762437485 18000 # Node ID aa38b904de4fecc8ff84e1ba04754e1490251f0b # Parent 0393debc0ed234d7efcf80fac28ed78c8646916c http: fix incorrect type in curl_easy_setopt hahaha diff -r 0393debc0ed2 -r aa38b904de4f src/core/http.cc --- a/src/core/http.cc Thu Nov 06 08:57:41 2025 -0500 +++ b/src/core/http.cc Thu Nov 06 08:58:05 2025 -0500 @@ -89,7 +89,7 @@ curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, &WriteCallback); /* Use system certs... useful on Windows. */ curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA); - curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); // threading + curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1L); // threading CURLcode res = curl_easy_perform(curl); session.IncrementRequests(); curl_easy_cleanup(curl); @@ -179,7 +179,7 @@ curl_easy_setopt(curl, CURLOPT_SSL_OPTIONS, CURLSSLOPT_NATIVE_CA); /* does something with threading, don't remember what though */ - curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1); + curl_easy_setopt(curl, CURLOPT_NOSIGNAL, 1L); CURLcode res = curl_easy_perform(curl); session.IncrementRequests();