From b711aea87f7a31efbbd11440186c35c335e59afe Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Marvin=20H=C3=A4user?= Date: Tue, 27 Feb 2018 23:20:46 +0100 Subject: MinPlatformPkg/TestPointCheckLib: Add missing typecasts. Contributed-under: TianoCore Contribution Agreement 1.1 Signed-off-by: Marvin Haeuser Reviewed-by: Jiewen Yao --- .../MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpi.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpi.c') diff --git a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpi.c b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpi.c index e704e8f59b..c2fe38df54 100644 --- a/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpi.c +++ b/Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpi.c @@ -183,7 +183,7 @@ DumpAcpiTableHeader ( DEBUG ((DEBUG_INFO, " ")); DumpCharArray ((CHAR8 *)&Table->Signature, sizeof(Table->Signature)); DEBUG ((DEBUG_INFO, " : (0x%016lx) 0x%02x \'", Table, Table->Revision)); - DumpCharArray (Table->OemId, sizeof(Table->OemId)); + DumpCharArray ((CHAR8 *)Table->OemId, sizeof(Table->OemId)); DEBUG ((DEBUG_INFO, "\' \'")); DumpCharArray ((CHAR8 *)&Table->OemTableId, sizeof(Table->OemTableId)); DEBUG ((DEBUG_INFO, "\' 0x%08x \'", Table->OemRevision)); @@ -717,7 +717,7 @@ DumpAcpiRsdp ( if (DumpPrint) { DumpCharArray ((CHAR8 *)&Rsdp->Signature, sizeof(Rsdp->Signature)); DEBUG ((DEBUG_INFO, ": (0x%016lx) 0x%02x \'", Rsdp, Rsdp->Revision)); - DumpCharArray (Rsdp->OemId, sizeof(Rsdp->OemId)); + DumpCharArray ((CHAR8 *)Rsdp->OemId, sizeof(Rsdp->OemId)); DEBUG ((DEBUG_INFO, "\'\n")); DEBUG ((DEBUG_INFO, " ")); DEBUG ((DEBUG_INFO, " RSDT=0x%08x XSDT=0x%016lx\n", Rsdp->RsdtAddress, Rsdp->XsdtAddress)); -- cgit v1.2.3