diff options
author | Robert Moore <Robert.Moore@intel.com> | 2012-10-16 08:01:57 -0700 |
---|---|---|
committer | Robert Moore <Robert.Moore@intel.com> | 2012-10-16 08:01:57 -0700 |
commit | 37dd560cc495cf8995be90286f8f8292c9c12bb9 (patch) | |
tree | d577a173966e02f1ebdf4641f30590e4e1e10a97 | |
parent | fe0d1f9f5a94844be35c5f24b6cdeed38f62ec32 (diff) | |
download | acpica-37dd560cc495cf8995be90286f8f8292c9c12bb9.tar.gz |
Update for 64-bit generation of recent error message changes.
Fix for errors on printf changes on 64-bit platforms and gcc.
-rw-r--r-- | source/components/parser/psloop.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/components/parser/psloop.c b/source/components/parser/psloop.c index 9c4c7c751..b4972cb93 100644 --- a/source/components/parser/psloop.c +++ b/source/components/parser/psloop.c @@ -232,7 +232,7 @@ AcpiPsGetAmlOpcode ( ACPI_ERROR ((AE_INFO, "Unknown opcode 0x%.2X at table offset 0x%.4X, ignoring", WalkState->Opcode, - WalkState->AmlOffset + sizeof (ACPI_TABLE_HEADER))); + (UINT32) (WalkState->AmlOffset + sizeof (ACPI_TABLE_HEADER)))); ACPI_DUMP_BUFFER (WalkState->ParserState.Aml - 16, 48); @@ -244,7 +244,7 @@ AcpiPsGetAmlOpcode ( AcpiOsPrintf ( "/*\nError: Unknown opcode 0x%.2X at table offset 0x%.4X, context:\n", WalkState->Opcode, - WalkState->AmlOffset + sizeof (ACPI_TABLE_HEADER)); + (UINT32) (WalkState->AmlOffset + sizeof (ACPI_TABLE_HEADER))); /* Dump the context surrounding the invalid opcode */ |