small fix (patch 938995)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2004-04-21 20:14:59 +00:00
parent 86b79b93fb
commit 17aa28a91b

View File

@@ -899,7 +899,7 @@ struct subre *top; /* subtree top */
case BACKREF: /* the Feature From The Black Lagoon */ case BACKREF: /* the Feature From The Black Lagoon */
INSIST(type != LACON, REG_ESUBREG); INSIST(type != LACON, REG_ESUBREG);
INSIST(v->nextvalue < v->nsubs, REG_ESUBREG); INSIST(v->nextvalue < v->nsubs, REG_ESUBREG);
INSIST(v->subs[v->nextvalue] != NULL, REG_ESUBREG); INSIST(v->subs[(int)v->nextvalue] != NULL, REG_ESUBREG);
NOERR(); NOERR();
assert(v->nextvalue > 0); assert(v->nextvalue > 0);
atom = subre(v, 'b', BACKR, lp, rp); atom = subre(v, 'b', BACKR, lp, rp);