Fix array subscript warnings

Commit a5cf808be55 accidentally passed signed chars to isalpha and
isspace in the parser code which leads to undefined behavior.  Fix
by casting the parameters to unsigned chars.

Author: Pavel Stehule <[email protected]>
Reported-by: Tom Lane <[email protected]>
Reported-by: Michael Paquier <[email protected]>
Discussion: https://postgr.es/m/[email protected]
Discussion: https://postgr.es/m/[email protected]

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/17935e1fdf0aff083347b4b2d6268d945041d188

Modified Files
--------------
src/bin/pg_dump/filter.c | 14 +++++++-------
1 file changed, 7 insertions(+), 7 deletions(-)

Reply via email to