diff options
author | Robert Moore <Robert.Moore@intel.com> | 2019-08-14 13:43:02 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2019-08-14 13:43:02 -0700 |
commit | d06def132a8852d02c9c7fee60f17b2011066e8e (patch) | |
tree | 54db81e3e35a36a206793a1ba1ae08e6f52893d5 /source/common | |
parent | 46a65742d8f9e93601ce3d82f79da37f42a2a919 (diff) | |
download | acpica-d06def132a8852d02c9c7fee60f17b2011066e8e.tar.gz |
Fully deploy ACPI_PRINTF_LIKE macro
Macro was not being used across all "printf-like" functions.
Also, cleanup all calls to such functions now that they are
analyzed by the compiler (gcc). Both in 32-bit mode and 64-bit
mode.
Diffstat (limited to 'source/common')
-rw-r--r-- | source/common/dmtbdump2.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/common/dmtbdump2.c b/source/common/dmtbdump2.c index a2d09b312..418b6ec0c 100644 --- a/source/common/dmtbdump2.c +++ b/source/common/dmtbdump2.c @@ -871,7 +871,7 @@ AcpiDmDumpMcfg ( if (Offset + sizeof (ACPI_MCFG_ALLOCATION) > Table->Length) { AcpiOsPrintf ("Warning: there are %u invalid trailing bytes\n", - sizeof (ACPI_MCFG_ALLOCATION) - (Offset - Table->Length)); + (UINT32) sizeof (ACPI_MCFG_ALLOCATION) - (Offset - Table->Length)); return; } |