Added NATIVE_UINT for switch statements, prevents switch on a 64-bit

number.


date	2001.09.18.16.31.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:31:36 +00:00
parent 22206f01b4
commit 6181a05d34

View File

@ -2,7 +2,7 @@
/******************************************************************************
*
* Module Name: exmisc - ACPI AML (p-code) execution - specific opcodes
* $Revision: 1.84 $
* $Revision: 1.85 $
*
*****************************************************************************/
@ -408,9 +408,8 @@ AcpiExHexadic (
* "continue" (proceed to next iteration of enclosing
* "for" loop) signifies a non-match.
*/
switch (Op1Desc->Integer.Value)
switch ((NATIVE_UINT) Op1Desc->Integer.Value)
{
case MATCH_MTR: /* always true */
break;
@ -472,9 +471,8 @@ AcpiExHexadic (
}
switch(Op2Desc->Integer.Value)
switch ((NATIVE_UINT) Op2Desc->Integer.Value)
{
case MATCH_MTR:
break;