summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Moore <Robert.Moore@intel.com>2013-03-26 12:33:34 -0700
committerRobert Moore <Robert.Moore@intel.com>2013-03-26 12:33:34 -0700
commit8971ddee0a3dc48aa5011509a0413358364ee745 (patch)
tree8629d1b6ef6b6079b7ea71ec180c6979eec8d82d
parent13723dcd72dfc68b5165b9ffd8c82a2c238f447a (diff)
downloadacpica-8971ddee0a3dc48aa5011509a0413358364ee745.tar.gz
Fix a format string for 64-bit generation.
Fix a warning on 64-bit for a length value. Cast to 32-bit since the length is related to an ACPI table.
-rw-r--r--source/components/executer/exoparg2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/components/executer/exoparg2.c b/source/components/executer/exoparg2.c
index 9f27490de..c51efb96b 100644
--- a/source/components/executer/exoparg2.c
+++ b/source/components/executer/exoparg2.c
@@ -531,7 +531,7 @@ AcpiExOpcode_2A_1T_1R (
{
ACPI_EXCEPTION ((AE_INFO, Status,
"Index (0x%X%8.8X) is beyond end of object (length 0x%X)",
- ACPI_FORMAT_UINT64 (Index), Length));
+ ACPI_FORMAT_UINT64 (Index), (UINT32) Length));
goto Cleanup;
}