Fix 'possible loss of data' warning
Qt doesn't like to use size_t anywhere.
This commit is contained in:
parent
12cdced337
commit
97543def13
1 changed files with 1 additions and 1 deletions
|
|
@ -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),
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue