]> git.saurik.com Git - wxWidgets.git/blobdiff - src/regex/regcomp.c
Incomplete setup build fix.
[wxWidgets.git] / src / regex / regcomp.c
index 2a7fd6e0b9dbdcf70f3af7dea09370690bf8d355..c634d6b1b983d1abf81c50aab8b58a30b8965217 100644 (file)
@@ -899,7 +899,7 @@ struct subre *top;          /* subtree top */
        case BACKREF:   /* the Feature From The Black Lagoon */
                INSIST(type != LACON, 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();
                assert(v->nextvalue > 0);
                atom = subre(v, 'b', BACKR, lp, rp);