mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-28 04:13:35 +00:00
[DXG] DdHmgLock - use PLONG instead of PBYTE.
svn path=/trunk/; revision=74179
This commit is contained in:
@@ -157,7 +157,7 @@ DdHmgLock(HANDLE DdHandle, UCHAR ObjectType, BOOLEAN LockOwned)
|
||||
|
||||
if ( Index < gcMaxDdHmgr )
|
||||
{
|
||||
pEntry = (PDD_ENTRY)((PBYTE)gpentDdHmgr + (sizeof(DD_ENTRY) * Index));
|
||||
pEntry = (PDD_ENTRY)((PLONG)gpentDdHmgr + (sizeof(DD_ENTRY) * Index));
|
||||
|
||||
if ( VerifyObjectOwner(pEntry) )
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user