From 1692e98b17ea0cd9365d7e78b4c8414b6ba616f7 Mon Sep 17 00:00:00 2001 From: Dmitry Gorbachev Date: Wed, 27 May 2009 11:50:52 +0000 Subject: [PATCH] Fix build, part 2. svn path=/trunk/; revision=41140 --- reactos/drivers/bus/pci/pdo.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/reactos/drivers/bus/pci/pdo.c b/reactos/drivers/bus/pci/pdo.c index 503f8464e09..d680d9980af 100644 --- a/reactos/drivers/bus/pci/pdo.c +++ b/reactos/drivers/bus/pci/pdo.c @@ -701,7 +701,7 @@ PdoQueryResources( } /* 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 */