Fix unportable usage of <ctype.h> functions.
Tom Lane <tgl@sss.pgh.pa.us>
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
| Path | Change | +/− |
|---|---|---|
| src/backend/tsearch/spell.c | modified | +2 −2 |