Fix last commit.

This commit is contained in:
Nodir Temirkhodjaev 2019-03-30 20:07:35 +05:00
parent a7138869a7
commit f9ec032233

View File

@ -87,7 +87,7 @@ static bool extractAppInfo(const QString &appPath, AppInfo &appInfo)
// Product Version
{
VS_FIXEDFILEINFO *ffi;
if (!VerQueryValueA(infoData, "\\", (LPVOID *) &ffi, (PUINT) dummy))
if (!VerQueryValueA(infoData, "\\", (LPVOID *) &ffi, (PUINT) &dummy))
return false;
const DWORD leftMost = HIWORD(ffi->dwProductVersionMS);
@ -107,7 +107,7 @@ static bool extractAppInfo(const QString &appPath, AppInfo &appInfo)
// Language info
WORD *langInfo;
if (!VerQueryValueA(infoData, "\\VarFileInfo\\Translation",
(LPVOID *) &langInfo, (PUINT) dummy))
(LPVOID *) &langInfo, (PUINT) &dummy))
return false;
// Texts