aboutsummaryrefslogtreecommitdiff
path: root/posix
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-03 08:28:03 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-03 08:28:03 +0000
commit7186e974c3f621c4d060604dabc2acb766c186b5 (patch)
tree771d012ddb82883424327f705e848f8a960f4e9e /posix
parent72e1a75071d8c4b269e03c583f84c9a130434062 (diff)
downloadglibc-7186e974c3f621c4d060604dabc2acb766c186b5.zip
glibc-7186e974c3f621c4d060604dabc2acb766c186b5.tar.gz
glibc-7186e974c3f621c4d060604dabc2acb766c186b5.tar.bz2
(SYNTAX): Add braces for correct evaluation.
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 */