From 400046cab1599dfe7ec1410a4600ee19316f1942 Mon Sep 17 00:00:00 2001 From: "Emden R. Gansner" Date: Tue, 13 Aug 2013 15:40:03 -0400 Subject: [PATCH] Fix warning from gcc --- lib/ast/strmatch.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)) -- 2.40.0