]> git.proxmox.com Git - mirror_edk2.git/commitdiff
update to pass GCC build as we replace VA_START with __builtin_va_start
authoreric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Apr 2009 04:29:27 +0000 (04:29 +0000)
committereric_tian <eric_tian@6f19259b-4bc3-4df7-8a09-765794883524>
Thu, 30 Apr 2009 04:29:27 +0000 (04:29 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8209 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/UefiHiiLib/HiiLib.c

index c8ef091ff7802d3324708d7ee733e80dda58b5a8..3f3b1aac6b70ccbdc34748942d2b52404d79cadc 100644 (file)
@@ -837,7 +837,7 @@ HiiConstructConfigAltResp (
   //\r
   VA_START (Args, BlockNameArray);\r
   while (TRUE) {\r
-    AltCfgId = VA_ARG (Args, UINT16);\r
+    AltCfgId = VA_ARG (Args, UINTN);\r
     Buffer   = VA_ARG (Args, UINT8 *);\r
     if (Buffer == NULL) {\r
       break;\r
@@ -891,7 +891,7 @@ HiiConstructConfigAltResp (
   //\r
   VA_START (Args, BlockNameArray);\r
   while (TRUE) {\r
-    AltCfgId = VA_ARG (Args, UINT16);\r
+    AltCfgId = VA_ARG (Args, UINTN);\r
     Buffer   = VA_ARG (Args, UINT8 *);\r
     if (Buffer == NULL) {\r
       break;\r