mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-10-20 13:04:54 -04:00
Fix 'possible loss of data' warning
Qt doesn't like to use size_t anywhere.
This commit is contained in:
1 parent
12cdced337
commit
97543def13
1 file changed
+1
-1
@@ -1776,7 +1776,7 @@ void OBSBasic::UploadLog(const char *file)
|
||||
return;
|
||||
}
|
||||
|
||||
logUploadPostData.setData(json, strlen(json));
|
||||
logUploadPostData.setData(json, (int)strlen(json));
|
||||
|
||||
QUrl url("https://api.github.com/gists");
|
||||
logUploadReply = networkManager.post(QNetworkRequest(url),
|
||||
|
||||
Reference in new issue
Block a user