X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;ds=sidebyside;f=miniexpect.c;fp=miniexpect.c;h=d5a7c6e5d8e5b8596a1c157dacd631d894c2db93;hb=2c56e0f2171d68ff13c4a510feffd6bbb52d6381;hp=caf498dc1cc3da6998706807f44bd94f88a28af2;hpb=fb0eeddc671039cabd9c53934e324ae218b21000;p=miniexpect.git diff --git a/miniexpect.c b/miniexpect.c index caf498d..d5a7c6e 100644 --- a/miniexpect.c +++ b/miniexpect.c @@ -345,7 +345,7 @@ mexp_expect (mexp_h *h, const mexp_regexp *regexps, int *ovector, int ovecsize) assert (h->buffer != NULL); for (i = 0; regexps[i].r > 0; ++i) { - int options = regexps[i].options | PCRE_PARTIAL_SOFT; + const int options = regexps[i].options | PCRE_PARTIAL_SOFT; r = pcre_exec (regexps[i].re, regexps[i].extra, h->buffer, (int)h->len, 0,