diff options
| author | Jung-uk Kim <jkim@FreeBSD.org> | 2016-03-18 21:13:19 +0000 |
|---|---|---|
| committer | Jung-uk Kim <jkim@FreeBSD.org> | 2016-03-18 21:13:19 +0000 |
| commit | 937fa60dd2f2b6264fb99f22b638190a3fef996b (patch) | |
| tree | 0dc0bf084f8f2e8a00eec502c9893e78b5a4b088 /source/compiler/aslutils.c | |
| parent | 67ac2c42d552618270f8ba5431d63944a35a0ee7 (diff) | |
Notes
Diffstat (limited to 'source/compiler/aslutils.c')
| -rw-r--r-- | source/compiler/aslutils.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/source/compiler/aslutils.c b/source/compiler/aslutils.c index 288fe1f9f27b..f5ca7b7e861f 100644 --- a/source/compiler/aslutils.c +++ b/source/compiler/aslutils.c @@ -906,7 +906,9 @@ UtDoConstant ( char ErrBuf[64]; - Status = AcpiUtStrtoul64 (String, 0, &Converted); + Status = AcpiUtStrtoul64 (String, ACPI_ANY_BASE, + ACPI_MAX64_BYTE_WIDTH, &Converted); + if (ACPI_FAILURE (Status)) { sprintf (ErrBuf, "%s %s\n", "Conversion error:", |
