summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorandroid-build-team Robot <android-build-team-robot@google.com>2018-07-27 18:48:17 +0000
committerandroid-build-team Robot <android-build-team-robot@google.com>2018-07-27 18:48:17 +0000
commit7111fd83f91cefa3b8db18bb2bb8fd3f7eaa7a13 (patch)
tree8b7f907f1d4556f9a75c1e612dc7b7335f37bb61
parent409ae3271a77ab26a4f3038c8bb117870f84e36e (diff)
parent86a561f79f97baa38e240f6296fe1192fa4a5c9c (diff)
downloadneven-pie-r2-release.tar.gz
Change-Id: Idbf101318613fdd4e050a9f3f9ea20b3e3b3cca6
-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;