summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBill Yi <byi@google.com>2018-10-19 12:20:26 -0700
committerBill Yi <byi@google.com>2018-10-19 12:20:26 -0700
commit1808c640de8b7057c1713098fcbb029863b0218e (patch)
tree8b7f907f1d4556f9a75c1e612dc7b7335f37bb61
parenta199086bfafc4503b9a3f27557ca1c554d364366 (diff)
parentb4e5e337171803630b62c6a3590974ef0663eb46 (diff)
downloadneven-1808c640de8b7057c1713098fcbb029863b0218e.tar.gz
Change-Id: Id4b9de2960dcde3b4f5568661eb003d4bbaded9f
-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;