Fix build

svn path=/trunk/; revision=33183
This commit is contained in:
Andrey Korotaev 2008-04-28 20:20:53 +00:00
parent 94ae49ad03
commit 67e7cbefcb

View file

@ -48,7 +48,7 @@ InitializeDialog(HWND hwndDlg)
SendDlgItemMessageW(hwndDlg, IDC_STATIC_ADAPTER_DAC, WM_SETTEXT, 0, (LPARAM)szText);
}
if (GetRegValue(hKey, NULL, L"HardwareInformation.MemorySize", REG_BINARY, &dwMemory, sizeof(dwMemory)))
if (GetRegValue(hKey, NULL, L"HardwareInformation.MemorySize", REG_BINARY, (LPWSTR)&dwMemory, sizeof(dwMemory)))
{
/* set chip memory size */
if (dwMemory > (1048576))