diff options
author | Marvin Häuser <Marvin.Haeuser@outlook.com> | 2018-02-27 23:20:46 +0100 |
---|---|---|
committer | Jiewen Yao <jiewen.yao@intel.com> | 2018-02-28 09:14:15 +0800 |
commit | b711aea87f7a31efbbd11440186c35c335e59afe (patch) | |
tree | 07c091da6b148b6cdfdef27e1d1c5da5943b801c /Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpi.c | |
parent | 9acb51169fbd25d24ff57517e35f6bef1679d2a6 (diff) | |
download | edk2-platforms-b711aea87f7a31efbbd11440186c35c335e59afe.tar.xz |
MinPlatformPkg/TestPointCheckLib: Add missing typecasts.
Contributed-under: TianoCore Contribution Agreement 1.1
Signed-off-by: Marvin Haeuser <Marvin.Haeuser@outlook.com>
Reviewed-by: Jiewen Yao <jiewen.yao@intel.com>
Diffstat (limited to 'Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpi.c')
-rw-r--r-- | Platform/Intel/MinPlatformPkg/Test/Library/TestPointCheckLib/DxeCheckAcpi.c | 4 |
1 files changed, 2 insertions, 2 deletions
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));
|