summaryrefslogtreecommitdiff
path: root/source/components/executer/exresop.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/executer/exresop.c')
-rw-r--r--source/components/executer/exresop.c10
1 files changed, 6 insertions, 4 deletions
diff --git a/source/components/executer/exresop.c b/source/components/executer/exresop.c
index 32ceb6f0217b..d4352e297c16 100644
--- a/source/components/executer/exresop.c
+++ b/source/components/executer/exresop.c
@@ -428,11 +428,13 @@ AcpiExResolveOperands (
case ARGI_INTEGER:
/*
- * Need an operand of type ACPI_TYPE_INTEGER,
- * But we can implicitly convert from a STRING or BUFFER
- * Aka - "Implicit Source Operand Conversion"
+ * Need an operand of type ACPI_TYPE_INTEGER, but we can
+ * implicitly convert from a STRING or BUFFER.
+ *
+ * Known as "Implicit Source Operand Conversion"
*/
- Status = AcpiExConvertToInteger (ObjDesc, StackPtr, 16);
+ Status = AcpiExConvertToInteger (ObjDesc, StackPtr,
+ ACPI_STRTOUL_BASE16);
if (ACPI_FAILURE (Status))
{
if (Status == AE_TYPE)