Author: sgasiorek
Date: Thu Mar 16 09:59:15 2017
New Revision: 74179
URL:
http://svn.reactos.org/svn/reactos?rev=74179&view=rev
Log:
[DXG] DdHmgLock - use PLONG instead of PBYTE.
Modified:
trunk/reactos/win32ss/reactx/dxg/ddhmg.c
Modified: trunk/reactos/win32ss/reactx/dxg/ddhmg.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/win32ss/reactx/dxg/ddhmg.c…
==============================================================================
--- trunk/reactos/win32ss/reactx/dxg/ddhmg.c [iso-8859-1] (original)
+++ trunk/reactos/win32ss/reactx/dxg/ddhmg.c [iso-8859-1] Thu Mar 16 09:59:15 2017
@@ -157,7 +157,7 @@
if ( Index < gcMaxDdHmgr )
{
- pEntry = (PDD_ENTRY)((PBYTE)gpentDdHmgr + (sizeof(DD_ENTRY) * Index));
+ pEntry = (PDD_ENTRY)((PLONG)gpentDdHmgr + (sizeof(DD_ENTRY) * Index));
if ( VerifyObjectOwner(pEntry) )
{