diff options
Diffstat (limited to 'source/common/dmtbdump2.c')
-rw-r--r-- | source/common/dmtbdump2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/common/dmtbdump2.c b/source/common/dmtbdump2.c index 958ecce8f..e9c5dbfd6 100644 --- a/source/common/dmtbdump2.c +++ b/source/common/dmtbdump2.c @@ -2806,7 +2806,7 @@ AcpiDmDumpRhct ( AcpiOsPrintf ("Invalid subtable length\n"); return; } - SubtableOffset = Length; + SubtableOffset = (UINT8) Length; switch (Subtable->Type) { @@ -2840,7 +2840,7 @@ AcpiDmDumpRhct ( case ACPI_RHCT_NODE_TYPE_ISA_STRING: RhctIsaString = ACPI_ADD_PTR (ACPI_RHCT_ISA_STRING, Subtable, SubtableOffset); - IsaPadOffset = SubtableOffset + 2 + RhctIsaString->IsaLength; + IsaPadOffset = (UINT8) (SubtableOffset + 2 + RhctIsaString->IsaLength); Status = AcpiDmDumpTable (Table->Length, Offset + SubtableOffset, RhctIsaString, RhctIsaString->IsaLength, AcpiDmTableInfoRhctIsa1); if (Subtable->Length > IsaPadOffset) |