From: Emden R. Gansner Date: Tue, 13 Aug 2013 19:40:03 +0000 (-0400) Subject: Fix warning from gcc X-Git-Tag: LAST_LIBGRAPH~32^2~87 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=400046cab1599dfe7ec1410a4600ee19316f1942;p=graphviz Fix warning from gcc --- diff --git a/lib/ast/strmatch.c b/lib/ast/strmatch.c index faa83dd22..3e374a9c9 100644 --- a/lib/ast/strmatch.c +++ b/lib/ast/strmatch.c @@ -146,7 +146,7 @@ typedef struct { #endif #ifndef isxdigit -#define isxdigit(c) ((c)>='0'&&(c)<='9'||(c)>='a'&&(c)<='f'||(c)>='A'&&(c)<='F') +#define isxdigit(c) (((c)>='0'&&(c)<='9')||((c)>='a'&&(c)<='f')||((c)>='A'&&(c)<='F')) #endif #define getsource(s,e) (((s)>=(e))?0:mbgetchar(s))