Fix build, part 2.

svn path=/trunk/; revision=41140
This commit is contained in:
Dmitry Gorbachev 2009-05-27 11:50:52 +00:00
parent 1acfeeec78
commit 1692e98b17

View file

@ -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 */