mirror of
https://github.com/obsproject/obs-studio.git
synced 2026-09-21 12:49:40 +08:00
Fix 'possible loss of data' warning
Qt doesn't like to use size_t anywhere.
This commit is contained in:
@@ -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