From 17aa28a91b881060b4f2fe78c929dcc93da426bf Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 21 Apr 2004 20:14:59 +0000 Subject: [PATCH] small fix (patch 938995) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26905 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/regex/regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c index 2a7fd6e0b9..c634d6b1b9 100644 --- a/src/regex/regcomp.c +++ b/src/regex/regcomp.c @@ -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); -- 2.47.2