mirror of
https://github.com/reactos/reactos.git
synced 2025-04-21 20:50:29 +00:00
[DXG] DdHmgLock - use PLONG instead of PBYTE.
svn path=/trunk/; revision=74179
This commit is contained in:
parent
0ad21ab1b8
commit
c04d8c58e7
1 changed files with 1 additions and 1 deletions
|
@ -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) )
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue