mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-19 01:36:12 +08:00
plugins: Use exact types to avoid clang-19 errors
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user