From cb7cbc16fa4b5933fb5d63052568e3ed6859857b Mon Sep 17 00:00:00 2001 From: Bruce Momjian Date: Tue, 16 Jun 1998 07:29:54 +0000 Subject: Hi, here are the patches to enhance existing MB handling. This time I have implemented a framework of encoding translation between the backend and the frontend. Also I have added a new variable setting command: SET CLIENT_ENCODING TO 'encoding'; Other features include: Latin1 support more 8 bit cleaness See doc/README.mb for more details. Note that the pacthes are against May 30 snapshot. Tatsuo Ishii --- src/backend/regex/regcomp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/backend/regex/regcomp.c') diff --git a/src/backend/regex/regcomp.c b/src/backend/regex/regcomp.c index 01b95427c62..4eb71eb525e 100644 --- a/src/backend/regex/regcomp.c +++ b/src/backend/regex/regcomp.c @@ -1344,7 +1344,7 @@ cset *cs; for (i = 0; i < css; i++) if (CHIN(cs, i)) - return ((char) i); + return (i); assert(never); return (0); /* arbitrary */ } -- cgit v1.2.3