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:
parent
efe67ad3fd
commit
06d1f2768e
@ -256,7 +256,7 @@ try {
|
||||
|
||||
vector<uint8_t> newData;
|
||||
try {
|
||||
newData.resize(newsize);
|
||||
newData.resize((size_t)newsize);
|
||||
} catch (...) {
|
||||
throw int(-1);
|
||||
}
|
||||
|
@ -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;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user