0
0
mirror of https://github.com/obsproject/obs-studio.git synced 2024-09-20 13:08:50 +02:00

UI/updater: Fix a few type size mismatch warnings

This commit is contained in:
jp9000 2018-03-13 12:01:24 -07:00
parent efe67ad3fd
commit 06d1f2768e
2 changed files with 2 additions and 2 deletions

View File

@ -256,7 +256,7 @@ try {
vector<uint8_t> newData;
try {
newData.resize(newsize);
newData.resize((size_t)newsize);
} catch (...) {
throw int(-1);
}

View File

@ -1171,7 +1171,7 @@ static bool Update(wchar_t *cmdLine)
if (!RunDownloadWorkers(2))
return false;
if (completedUpdates != updates.size()) {
if ((size_t)completedUpdates != updates.size()) {
Status(L"Update failed to download all files.");
return false;
}