We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 85850fc commit 3d143c0Copy full SHA for 3d143c0
reactos/drivers/bus/acpi/pnp.c
@@ -193,7 +193,7 @@ Bus_FDO_PnP (
193
//
194
195
length = sizeof(DEVICE_RELATIONS) +
196
- (((numPdosPresent + prevcount) - 1) * sizeof (DEVICE_OBJECT));
+ (((numPdosPresent + prevcount) - 1) * sizeof (PDEVICE_OBJECT));
197
198
relations = (PDEVICE_RELATIONS) ExAllocatePoolWithTag (PagedPool,
199
length, 'IPCA');
@@ -214,7 +214,7 @@ Bus_FDO_PnP (
214
215
if (prevcount) {
216
RtlCopyMemory (relations->Objects, oldRelations->Objects,
217
- prevcount * sizeof (DEVICE_OBJECT));
+ prevcount * sizeof (PDEVICE_OBJECT));
218
}
219
220
relations->Count = prevcount + numPdosPresent;
0 commit comments