summaryrefslogtreecommitdiff
path: root/source/components/executer/exmisc.c
diff options
context:
space:
mode:
Diffstat (limited to 'source/components/executer/exmisc.c')
-rw-r--r--source/components/executer/exmisc.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/components/executer/exmisc.c b/source/components/executer/exmisc.c
index a8e5497a9de7..21e30f0f570c 100644
--- a/source/components/executer/exmisc.c
+++ b/source/components/executer/exmisc.c
@@ -360,7 +360,8 @@ AcpiExDoLogicalOp (
{
case ACPI_TYPE_INTEGER:
- Status = AcpiExConvertToInteger (Operand1, &LocalOperand1, 16);
+ Status = AcpiExConvertToInteger (Operand1, &LocalOperand1,
+ ACPI_STRTOUL_BASE16);
break;
case ACPI_TYPE_STRING: