UI, obs-qsv11: Fix build in VisualStudio 2017

OBS did not build out of the box in VS2017 but it does with these
changes.

Closes jp9000/obs-studio#902
This commit is contained in:
e00E
2017-05-03 23:06:26 +02:00
committed by jp9000
parent 82d72803d6
commit 4361c5bd45
2 changed files with 4 additions and 3 deletions

View File

@@ -658,11 +658,11 @@ try {
if (responseCode == 200) {
if (!QuickWriteFile(manifestPath, text.data(), text.size()))
throw strprintf("Could not write file '%s'",
manifestPath);
manifestPath.Get());
} else {
if (!QuickReadFile(manifestPath, text))
throw strprintf("Could not read file '%s'",
manifestPath);
manifestPath.Get());
}
/* ----------------------------------- *
@@ -764,7 +764,7 @@ try {
QString msg = QTStr("Updater.FailedToLaunch");
info(msg, msg);
throw strprintf("Can't launch updater '%s': %d",
updateFilePath, GetLastError());
updateFilePath.Get(), GetLastError());
}
/* force OBS to perform another update check immediately after updating