From 23fd114fcd326ffa2a374cc6f107dac4fc876c63 Mon Sep 17 00:00:00 2001 From: Jouk Jansen Date: Thu, 3 Feb 2011 10:59:50 +0000 Subject: [PATCH] Avoid incompatible operand types git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@66835 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 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) -- 2.47.2