summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPawin Vongmasa <pawin@google.com>2018-07-14 05:11:45 -0700
committerandroid-build-merger <android-build-merger@google.com>2018-07-14 05:11:45 -0700
commit1f787de2482a5948f4eed9e00690a716068c43ca (patch)
tree8b7f907f1d4556f9a75c1e612dc7b7335f37bb61
parenta199086bfafc4503b9a3f27557ca1c554d364366 (diff)
parent7a0257de7cd8124ce8a013148b632985e2089eb7 (diff)
downloadneven-pie-qpr1-release.tar.gz
am: 7a0257de7c Change-Id: I601bbdcfaa4d276a6fa627f45bf00b6707af5c9f
-rw-r--r--Embedded/common/src/b_BitFeatureEm/Scanner.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/Embedded/common/src/b_BitFeatureEm/Scanner.c b/Embedded/common/src/b_BitFeatureEm/Scanner.c
index 327e714..1a0ae2a 100644
--- a/Embedded/common/src/b_BitFeatureEm/Scanner.c
+++ b/Embedded/common/src/b_BitFeatureEm/Scanner.c
@@ -1064,7 +1064,7 @@ void bbf_Scanner_addOutPos( struct bbs_Context* cpA,
uint32 scaleA,
int32 actA )
{
- if( ( ptrA->outCountE * 4 ) < ptrA->outArrE.sizeE )
+ if( ( ptrA->outCountE * 4 + 3 ) < ptrA->outArrE.sizeE )
{
ptrA->outArrE.arrPtrE[ ptrA->outCountE * 4 + 0 ] = xA;
ptrA->outArrE.arrPtrE[ ptrA->outCountE * 4 + 1 ] = yA;