aboutsummaryrefslogtreecommitdiff
path: root/posix/regex.c
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1999-12-02 18:36:57 +0000
committerUlrich Drepper <drepper@redhat.com>1999-12-02 18:36:57 +0000
commitcc82f6fa89afc964243ccbac94af872425392ec6 (patch)
treeeb20ecf5ff5935f9386b41dc4cea218c36820969 /posix/regex.c
parentd7a4856e5d2e91b76309e308b6d084d23bafa6fe (diff)
downloadglibc-cc82f6fa89afc964243ccbac94af872425392ec6.zip
glibc-cc82f6fa89afc964243ccbac94af872425392ec6.tar.gz
glibc-cc82f6fa89afc964243ccbac94af872425392ec6.tar.bz2
(SYNTAX): Make more portable.
Diffstat (limited to 'posix/regex.c')
-rw-r--r--posix/regex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex.c b/posix/regex.c
index 04df21e..a57bfbb 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[((c) & 0xFF)]
+# define SYNTAX(c) re_syntax_table[(unsigned char) c]
#endif /* emacs */