+2005-07-22 Ben Elliston <bje@gnu.org>
+
+ * regex.c (regcomp): Change type of `i' from unsigned to int.
+
2005-07-22 Ben Elliston <bje@gnu.org>
Recover patch lost in the sourceware repository:
if (cflags & REG_ICASE)
{
- unsigned i;
+ int i;
preg->translate
= (RE_TRANSLATE_TYPE) malloc (CHAR_SET_SIZE
/* Map uppercase characters to corresponding lowercase ones. */
for (i = 0; i < CHAR_SET_SIZE; i++)
- preg->translate[i] = ISUPPER (i) ? TOLOWER (i) : (int) i;
+ preg->translate[i] = ISUPPER (i) ? TOLOWER (i) : i;
}
else
preg->translate = NULL;