mirror of
https://github.com/acpica/acpica/
synced 2025-02-24 09:24:08 +03:00
Fix for Integer-to-String conversion
date 2001.07.11.23.26.00; author rmoore1; state Exp;
This commit is contained in:
parent
703decfdd8
commit
acb7f1f4e8
@ -2,7 +2,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: exmonad - ACPI AML execution for monadic (1 operand) operators
|
||||
* $Revision: 1.103 $
|
||||
* $Revision: 1.104 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -645,7 +645,7 @@ AcpiExMonadic2R (
|
||||
|
||||
|
||||
case AML_TO_HEXSTRING_OP:
|
||||
Status = AcpiExConvertToString (ObjDesc, &RetDesc, WalkState);
|
||||
Status = AcpiExConvertToString (ObjDesc, &RetDesc, ACPI_UINT32_MAX, WalkState);
|
||||
break;
|
||||
|
||||
case AML_TO_BUFFER_OP:
|
||||
|
@ -1,7 +1,7 @@
|
||||
/******************************************************************************
|
||||
*
|
||||
* Module Name: exdyadic - ACPI AML execution for dyadic (2-operand) operators
|
||||
* $Revision: 1.81 $
|
||||
* $Revision: 1.82 $
|
||||
*
|
||||
*****************************************************************************/
|
||||
|
||||
@ -679,7 +679,7 @@ AcpiExDyadic2R (
|
||||
break;
|
||||
|
||||
case ACPI_TYPE_STRING:
|
||||
Status = AcpiExConvertToString (ObjDesc2, &ObjDesc2, WalkState);
|
||||
Status = AcpiExConvertToString (ObjDesc2, &ObjDesc2, ACPI_UINT32_MAX, WalkState);
|
||||
break;
|
||||
|
||||
case ACPI_TYPE_BUFFER:
|
||||
@ -713,7 +713,8 @@ AcpiExDyadic2R (
|
||||
|
||||
case AML_TO_STRING_OP: /* ACPI 2.0 */
|
||||
|
||||
Status = AcpiExConvertToString (ObjDesc, &RetDesc, WalkState);
|
||||
Status = AcpiExConvertToString (ObjDesc, &RetDesc,
|
||||
(UINT32) ObjDesc2->Integer.Value, WalkState);
|
||||
break;
|
||||
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user