plugins: Use exact types to avoid clang-19 errors

This commit is contained in:
trilkk
2026-02-05 16:54:16 -05:00
committed by Ryan Foster
parent 9776a227ef
commit 57c37e4adc
3 changed files with 9 additions and 6 deletions
@@ -84,7 +84,7 @@ const char *nimotv_get_ingest(const char *key)
curl_free(encoded_key);
curl_easy_setopt(curl_handle, CURLOPT_URL, uri.array);
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, true);
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 1L);
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYHOST, 2L);
curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 3L);
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, nimotv_write_cb);
@@ -113,7 +113,7 @@ struct showroom_ingest *showroom_get_ingest(const char *server, const char *acce
dstr_copy(&uri, server);
dstr_cat(&uri, access_key);
curl_easy_setopt(curl_handle, CURLOPT_URL, uri.array);
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, true);
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYPEER, 1L);
curl_easy_setopt(curl_handle, CURLOPT_SSL_VERIFYHOST, 2L);
curl_easy_setopt(curl_handle, CURLOPT_TIMEOUT, 30L);
curl_easy_setopt(curl_handle, CURLOPT_WRITEFUNCTION, showroom_write_cb);