From 5d3b5cd1c2fd1026b1df0e976c598fddb6c27d7b Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Tue, 30 Sep 2003 00:26:03 +0000 Subject: Fixed bug #25669 (eregi() with non-ascii characters) --- regex/cclass.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'regex/cclass.h') diff --git a/regex/cclass.h b/regex/cclass.h index 6227f810b7..df41694b04 100644 --- a/regex/cclass.h +++ b/regex/cclass.h @@ -1,8 +1,8 @@ /* character-class table */ static struct cclass { - char *name; - char *chars; - char *multis; + unsigned char *name; + unsigned char *chars; + unsigned char *multis; } cclasses[] = { {"alnum", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789", ""}, {"alpha", "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz", -- cgit v1.2.1