diff options
Diffstat (limited to 'source/compiler/aslopt.c')
-rw-r--r-- | source/compiler/aslopt.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/compiler/aslopt.c b/source/compiler/aslopt.c index a07f10c1814b..ce923bcb914d 100644 --- a/source/compiler/aslopt.c +++ b/source/compiler/aslopt.c @@ -133,7 +133,7 @@ OptSearchToRoot ( * not match, and we cannot use this optimization. */ Path = &(((char *) TargetPath->Pointer)[ - TargetPath->Length - ACPI_NAME_SIZE]), + TargetPath->Length - ACPI_NAME_SIZE]); ScopeInfo.Scope.Node = CurrentNode; /* Lookup the NameSeg using SEARCH_PARENT (search-to-root) */ |