[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: Patch: ctype functions require 'unsigned char' args (ITS#1678)

Here are fixes for more places where the argument to ctype.h functions
should be in the range of `unsigned char':


Explanation of the last patch (to schema_init.c:bvcasechr()):
TOLOWER() and TOUPPER() return values in the range of `unsigned char',
but bvcasechr() then compares those values with a plain `char'.  So I
convert the return values from TOLOWER()/TOUPPER() to `char' first.