Fix unportable usage of <ctype.h> functions.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: cb0ca0c9953aa0614e7b143bd2440a7582a27233
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2016-03-06T23:23:53Z
Releases: 9.6.0
Fix unportable usage of <ctype.h> functions.

isdigit(), isspace(), etc are likely to give surprising results if passed a
signed char.  We should always cast the argument to unsigned char to avoid
that.  Error in commit d78a7d9c7fa3e9cd, found by buildfarm member gaur.

Files

PathChange+/−
src/backend/tsearch/spell.c modified +2 −2