From cc82f6fa89afc964243ccbac94af872425392ec6 Mon Sep 17 00:00:00 2001 From: Ulrich Drepper Date: Thu, 2 Dec 1999 18:36:57 +0000 Subject: (SYNTAX): Make more portable. --- posix/regex.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'posix') diff --git a/posix/regex.c b/posix/regex.c index 04df21e308..a57bfbb138 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 */ -- cgit v1.2.3