aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
Diffstat (limited to 'posix')
-rw-r--r--posix/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex.c b/posix/regex.c
index a57bfbb..34b1d28 100644
--- a/posix/regex.c
+++ b/posix/regex.c
@@ -269,7 +269,7 @@ init_syntax_once ()
# endif /* not SYNTAX_TABLE */
-# define SYNTAX(c) re_syntax_table[(unsigned char) c]
+# define SYNTAX(c) re_syntax_table[(unsigned char) (c)]
#endif /* emacs */