diff --git a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c index b990686d40..6118df0549 100644 --- a/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c +++ b/DynamicTablesPkg/Library/Acpi/Arm/AcpiSsdtCmn600LibArm/SsdtCmn600Generator.c @@ -372,7 +372,7 @@ FixupCmn600Info ( } // Update the CMN600 Device's name. - Status = AmlDeviceOpUpdateName (DeviceNode, (CHAR8 *)Name); + Status = AmlDeviceOpUpdateName (DeviceNode, Name); if (EFI_ERROR (Status)) { goto error_handler; } diff --git a/DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c b/DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c index b1a628e419..f2594de2e9 100644 --- a/DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c +++ b/DynamicTablesPkg/Library/Common/SsdtSerialPortFixupLib/SsdtSerialPortFixupLib.c @@ -381,7 +381,7 @@ FixupName ( } // Update the Device's name. - return AmlDeviceOpUpdateName (DeviceNode, (CHAR8 *)Name); + return AmlDeviceOpUpdateName (DeviceNode, Name); } /** Fixup the Serial Port Information in the AML tree.