Fix for Integer-to-String conversion

date	2001.07.11.23.26.00;	author rmoore1;	state Exp;
This commit is contained in:
aystarik 2005-06-29 17:36:39 +00:00
parent 703decfdd8
commit acb7f1f4e8
2 changed files with 6 additions and 5 deletions

View File

@ -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:

View File

@ -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;