summaryrefslogtreecommitdiff
path: root/MdeModulePkg/Library/DxePrintLibPrint2Protocol
diff options
context:
space:
mode:
authormdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-03 03:47:55 +0000
committermdkinney <mdkinney@6f19259b-4bc3-4df7-8a09-765794883524>2009-06-03 03:47:55 +0000
commit97f778151b634c4ee55f9ac94a97b72e7e69f566 (patch)
treed295694124fa160f62f7a82bd2d53c31743cad23 /MdeModulePkg/Library/DxePrintLibPrint2Protocol
parent86fe4ef3f8e6f9fe9868174c7875871ddb8efe80 (diff)
downloadedk2-platforms-97f778151b634c4ee55f9ac94a97b72e7e69f566.tar.xz
Make sure BASE_LIST is always aligned on a 64-bit boundary
git-svn-id: https://edk2.svn.sourceforge.net/svnroot/edk2/trunk/edk2@8451 6f19259b-4bc3-4df7-8a09-765794883524
Diffstat (limited to 'MdeModulePkg/Library/DxePrintLibPrint2Protocol')
-rw-r--r--MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
index d22d4d5566..079b2a9bd0 100644
--- a/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
+++ b/MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c
@@ -265,7 +265,7 @@ UnicodeVSPrint (
IN VA_LIST Marker
)
{
- UINT8 BaseListMarker[256];
+ UINT64 BaseListMarker[256 / sizeof (UINT64)];
DxePrintLibPrint2ProtocolVaListToBaseList (
FALSE,
@@ -415,7 +415,7 @@ UnicodeVSPrintAsciiFormat (
IN VA_LIST Marker
)
{
- UINT8 BaseListMarker[256];
+ UINT64 BaseListMarker[256 / sizeof (UINT64)];
DxePrintLibPrint2ProtocolVaListToBaseList (
TRUE,
@@ -616,7 +616,7 @@ AsciiVSPrint (
IN VA_LIST Marker
)
{
- UINT8 BaseListMarker[256];
+ UINT64 BaseListMarker[256 / sizeof (UINT64)];
DxePrintLibPrint2ProtocolVaListToBaseList (
TRUE,
@@ -763,7 +763,7 @@ AsciiVSPrintUnicodeFormat (
IN VA_LIST Marker
)
{
- UINT8 BaseListMarker[256];
+ UINT64 BaseListMarker[256 / sizeof (UINT64)];
DxePrintLibPrint2ProtocolVaListToBaseList (
FALSE,