pgsql: isdigit() needs an unsigned char argument.
pgsql: isdigit() needs an unsigned char argument.
От:
Heikki Linnakangas <heikki.linnakangas@iki.fi>
Дата:
isdigit() needs an unsigned char argument. Per the C standard, the routine should be passed an int, with a value that's representable as an unsigned char or EOF. Passing a signed char is wrong, because a negative value is not representable as an unsigned char. Unfortunately no compiler warns about that. Branch ------ master Details ------- http://git.postgresql.org/pg/commitdiff/a0c2fa9b5cfaf9595e8809a68eec929a5052834e Modified Files -------------- src/backend/utils/adt/timestamp.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)