//\r
// Allocate space for creation of Buffer\r
//\r
- QuestionId = (UINT16) ((UINTN) (&NVStruc.DynamicCheck));\r
+ QuestionId = (UINT16) ((UINTN) (&NVStruc.DynamicCheck) - (UINTN) (&NVStruc));\r
Status = gBS->AllocatePool (\r
EfiBootServicesData,\r
0x1000,\r