]> git.proxmox.com Git - mirror_edk2.git/commitdiff
Make sure BASE_LIST is always aligned on a 64-bit boundary
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Jun 2009 03:47:55 +0000 (03:47 +0000)
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>
Wed, 3 Jun 2009 03:47:55 +0000 (03:47 +0000)
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8451 6f19259b-4bc3-4df7-8a09-765794883524

MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c

index d22d4d5566488f5f6636085b5501bc7119eab60d..079b2a9bd0785288263dfd59ed78327a62b2ec50 100644 (file)
@@ -265,7 +265,7 @@ UnicodeVSPrint (
   IN  VA_LIST       Marker\r
   )\r
 {\r
-  UINT8  BaseListMarker[256];\r
+  UINT64  BaseListMarker[256 / sizeof (UINT64)];\r
 \r
   DxePrintLibPrint2ProtocolVaListToBaseList (\r
     FALSE, \r
@@ -415,7 +415,7 @@ UnicodeVSPrintAsciiFormat (
   IN  VA_LIST      Marker\r
   )\r
 {\r
-  UINT8  BaseListMarker[256];\r
+  UINT64  BaseListMarker[256 / sizeof (UINT64)];\r
 \r
   DxePrintLibPrint2ProtocolVaListToBaseList (\r
     TRUE, \r
@@ -616,7 +616,7 @@ AsciiVSPrint (
   IN  VA_LIST       Marker\r
   )\r
 {\r
-  UINT8  BaseListMarker[256];\r
+  UINT64  BaseListMarker[256 / sizeof (UINT64)];\r
 \r
   DxePrintLibPrint2ProtocolVaListToBaseList (\r
     TRUE, \r
@@ -763,7 +763,7 @@ AsciiVSPrintUnicodeFormat (
   IN  VA_LIST       Marker\r
   )\r
 {\r
-  UINT8  BaseListMarker[256];\r
+  UINT64  BaseListMarker[256 / sizeof (UINT64)];\r
 \r
   DxePrintLibPrint2ProtocolVaListToBaseList (\r
     FALSE, \r