mirror of
https://github.com/acpica/acpica/
synced 2025-01-18 23:49:18 +03:00
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:
parent
22206f01b4
commit
6181a05d34
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user