mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 01:35:47 +00:00
[SDK:INCLUDE] Cast to type instead of PVOID
For C++ header compatibility
This commit is contained in:
parent
fa74ae571b
commit
8f963c38c6
1 changed files with 2 additions and 2 deletions
|
@ -40,8 +40,8 @@ CmiGetNextPartialDescriptor(
|
||||||
if (PartialDescriptor->Type == CmResourceTypeDeviceSpecific)
|
if (PartialDescriptor->Type == CmResourceTypeDeviceSpecific)
|
||||||
{
|
{
|
||||||
/* Add the size of the variable section as well */
|
/* Add the size of the variable section as well */
|
||||||
NextDescriptor = (PVOID)((ULONG_PTR)NextDescriptor +
|
NextDescriptor = (PCM_PARTIAL_RESOURCE_DESCRIPTOR)((ULONG_PTR)NextDescriptor +
|
||||||
PartialDescriptor->u.DeviceSpecificData.DataSize);
|
PartialDescriptor->u.DeviceSpecificData.DataSize);
|
||||||
ASSERT(NextDescriptor >= PartialDescriptor + 1);
|
ASSERT(NextDescriptor >= PartialDescriptor + 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue