From 327ad3342b144662053c2077f063c3409d5f4293 Mon Sep 17 00:00:00 2001 From: aystarik Date: Wed, 29 Jun 2005 18:09:08 +0000 Subject: [PATCH] Fix for 64-bit warnings date 2003.10.23.20.02.00; author rmoore1; state Exp; --- source/components/parser/psparse.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/source/components/parser/psparse.c b/source/components/parser/psparse.c index 52074c406..1f61a59bb 100644 --- a/source/components/parser/psparse.c +++ b/source/components/parser/psparse.c @@ -1,7 +1,7 @@ /****************************************************************************** * * Module Name: psparse - Parser top level AML parse routines - * $Revision: 1.141 $ + * $Revision: 1.142 $ * *****************************************************************************/ @@ -603,8 +603,8 @@ AcpiPsParseLoop ( { /* Get the next opcode from the AML stream */ - WalkState->AmlOffset = ACPI_PTR_DIFF (ParserState->Aml, - ParserState->AmlStart); + WalkState->AmlOffset = (UINT32) ACPI_PTR_DIFF (ParserState->Aml, + ParserState->AmlStart); WalkState->Opcode = AcpiPsPeekOpcode (ParserState); /* @@ -836,8 +836,8 @@ AcpiPsParseLoop ( while (GET_CURRENT_ARG_TYPE (WalkState->ArgTypes) && !WalkState->ArgCount) { - WalkState->AmlOffset = ACPI_PTR_DIFF (ParserState->Aml, - ParserState->AmlStart); + WalkState->AmlOffset = (UINT32) ACPI_PTR_DIFF (ParserState->Aml, + ParserState->AmlStart); Status = AcpiPsGetNextArg (WalkState, ParserState, GET_CURRENT_ARG_TYPE (WalkState->ArgTypes), &Arg); if (ACPI_FAILURE (Status))