Author: dgorbachev
Date: Wed May 27 15:50:52 2009
New Revision: 41140
URL:
http://svn.reactos.org/svn/reactos?rev=41140&view=rev
Log:
Fix build, part 2.
Modified:
trunk/reactos/drivers/bus/pci/pdo.c
Modified: trunk/reactos/drivers/bus/pci/pdo.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/drivers/bus/pci/pdo.c?rev=…
==============================================================================
--- trunk/reactos/drivers/bus/pci/pdo.c [iso-8859-1] (original)
+++ trunk/reactos/drivers/bus/pci/pdo.c [iso-8859-1] Wed May 27 15:50:52 2009
@@ -701,7 +701,7 @@
}
/* Calculate the resource list size */
- ListSize = FIELD_OFFSET(CM_RESOURCE_LIST,
List->PartialResourceList.PartialDescriptors)
+ ListSize = FIELD_OFFSET(CM_RESOURCE_LIST,
List[0].PartialResourceList.PartialDescriptors)
+ ResCount * sizeof(CM_PARTIAL_RESOURCE_DESCRIPTOR);
/* Allocate the resource list */