[ros-diffs] [dgorbachev] 41140: Fix build, part 2.

dgorbachev at svn.reactos.org dgorbachev at svn.reactos.org
Wed May 27 13:50:53 CEST 2009


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=41140&r1=41139&r2=41140&view=diff
==============================================================================
--- 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 */



More information about the Ros-diffs mailing list