Char classification: drop __ischareq(), avoid CC warnings..
commit4e499245c992e62926ecef357341d4a06106c88b
authorSteffen "Daode" Nurpmeso <sdaoden@users.sf.net>
Mon, 15 Oct 2012 13:26:55 +0000 (15 15:26 +0200)
committerSteffen "Daode" Nurpmeso <sdaoden@users.sf.net>
Mon, 15 Oct 2012 13:29:09 +0000 (15 15:29 +0200)
tree42454ef9c03f4af1df3c364186114cb6ccff49d7
parenteb34aa089a7217d8d795ae1c1caca1a3187f797c
Char classification: drop __ischareq(), avoid CC warnings..

For one this changeset tweaks (def.h: use 8 bit for char
classification.., 2012-10-01) and (Avoid warnings for the bltin
ctype stuff.., 2012-09-22) in that cntrlchar() simply checks for
the presence of C_CNTRL instead of the exclusive C_CNTRL value.
This makes __ischareq() unnecessary.

Also upperconv() and lowerconv() perform casts to avoid compiler
warnings on possible overflows (or, more exactly, "assuming
signed overflow does not occur")
def.h