Author: akorotaev
Date: Mon Apr 28 15:20:53 2008
New Revision: 33183
URL:
http://svn.reactos.org/svn/reactos?rev=33183&view=rev
Log:
Fix build
Modified:
trunk/reactos/base/applications/dxdiag/display.c
Modified: trunk/reactos/base/applications/dxdiag/display.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/dxdiag/d…
==============================================================================
--- trunk/reactos/base/applications/dxdiag/display.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/dxdiag/display.c [iso-8859-1] Mon Apr 28 15:20:53
2008
@@ -48,7 +48,7 @@
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))