summaryrefslogtreecommitdiff
path: root/source/components/executer/exconvrt.c
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2016-03-18 21:13:19 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2016-03-18 21:13:19 +0000
commit937fa60dd2f2b6264fb99f22b638190a3fef996b (patch)
tree0dc0bf084f8f2e8a00eec502c9893e78b5a4b088 /source/components/executer/exconvrt.c
parent67ac2c42d552618270f8ba5431d63944a35a0ee7 (diff)
Notes
Diffstat (limited to 'source/components/executer/exconvrt.c')
-rw-r--r--source/components/executer/exconvrt.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/source/components/executer/exconvrt.c b/source/components/executer/exconvrt.c
index 6f756d7e5fc6e..ea6f82620dd12 100644
--- a/source/components/executer/exconvrt.c
+++ b/source/components/executer/exconvrt.c
@@ -137,7 +137,8 @@ AcpiExConvertToInteger (
* of ACPI 3.0) is that the ToInteger() operator allows both decimal
* and hexadecimal strings (hex prefixed with "0x").
*/
- Status = AcpiUtStrtoul64 ((char *) Pointer, Flags, &Result);
+ Status = AcpiUtStrtoul64 ((char *) Pointer, Flags,
+ AcpiGbl_IntegerByteWidth, &Result);
if (ACPI_FAILURE (Status))
{
return_ACPI_STATUS (Status);