From 97f778151b634c4ee55f9ac94a97b72e7e69f566 Mon Sep 17 00:00:00 2001 From: mdkinney Date: Wed, 3 Jun 2009 03:47:55 +0000 Subject: 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 --- MdeModulePkg/Library/DxePrintLibPrint2Protocol/PrintLib.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'MdeModulePkg/Library/DxePrintLibPrint2Protocol') 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, -- cgit v1.2.3