From: Jouk Jansen Date: Thu, 3 Feb 2011 10:59:50 +0000 (+0000) Subject: Avoid incompatible operand types X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/23fd114fcd326ffa2a374cc6f107dac4fc876c63?ds=sidebyside Avoid incompatible operand types git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66835 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/regex/regcomp.c b/src/regex/regcomp.c index 14b4533136..83edc37b34 100644 --- a/src/regex/regcomp.c +++ b/src/regex/regcomp.c @@ -239,7 +239,7 @@ struct vars { #define NOERR() {if (ISERR()) return;} /* if error seen, return */ #define NOERRN() {if (ISERR()) return NULL;} /* NOERR with retval */ #define NOERRZ() {if (ISERR()) return 0;} /* NOERR with retval */ -#define INSIST(c, e) (void)((c) ? 0 : ERR(e)) /* if condition false, error */ +#define INSIST(c, e) (void)((c) ? (void)0 : ERR(e)) /* if condition false, error */ #define NOTE(b) (v->re->re_info |= (b)) /* note visible condition */ #define EMPTYARC(x, y) newarc(v->nfa, EMPTY, 0, x, y)