regex: omit needless signed-pointer casts
authorPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Jan 2013 00:27:46 +0000 (16:27 -0800)
committerPaul Eggert <eggert@cs.ucla.edu>
Wed, 2 Jan 2013 00:35:20 +0000 (16:35 -0800)
commit964bbc2d419584e93fe629ddbc40595612f62083
treedad5ac3070acd48a50114e0a9ca3624942071f03
parenteba68811dda2e91520de62b4f717b745edee64ae
regex: omit needless signed-pointer casts

* lib/regcomp.c (build_charclass, build_charclass_op):
Use char *, not unsigned char *, for class name and extra.
The char values are always nonnegative so there's no need to
insist on unsigned char * here, and using char * removes the need
for casts.  Reported by Aharon Robbins in
<http://sourceware.org/ml/libc-alpha/2012-12/msg00456.html>.
ChangeLog
lib/regcomp.c