1
0
mirror of https://github.com/postgres/postgres.git synced 2025-07-03 20:02:46 +03:00

Correct type for isalnum

This commit is contained in:
Teodor Sigaev
2004-01-19 18:40:23 +00:00
parent 0054f82c62
commit 767adcf5d6

View File

@ -87,7 +87,7 @@ typedef struct
#ifndef abs #ifndef abs
#define abs(a) ((a) < (0) ? -(a) : (a)) #define abs(a) ((a) < (0) ? -(a) : (a))
#endif #endif
#define ISALNUM(x) ( isalnum((unsigned int)(x)) || (x) == '_' ) #define ISALNUM(x) ( isalnum((unsigned char)(x)) || (x) == '_' )
/* full text query */ /* full text query */