diff options
author | Teodor Sigaev <teodor@sigaev.ru> | 2004-01-19 18:40:23 +0000 |
---|---|---|
committer | Teodor Sigaev <teodor@sigaev.ru> | 2004-01-19 18:40:23 +0000 |
commit | 767adcf5d63b9fb72a3951a8270d4ce1575f1294 (patch) | |
tree | 1c19a43fd896c26a092c542500efaf3695217451 | |
parent | 0054f82c627521c57a7d073529ae5847d01fb09a (diff) |
Correct type for isalnum
-rw-r--r-- | contrib/ltree/ltree.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/ltree/ltree.h b/contrib/ltree/ltree.h index c732a37fa2d..edcda22e4b9 100644 --- a/contrib/ltree/ltree.h +++ b/contrib/ltree/ltree.h @@ -87,7 +87,7 @@ typedef struct #ifndef abs #define abs(a) ((a) < (0) ? -(a) : (a)) #endif -#define ISALNUM(x) ( isalnum((unsigned int)(x)) || (x) == '_' ) +#define ISALNUM(x) ( isalnum((unsigned char)(x)) || (x) == '_' ) /* full text query */ |