From: Teodor Sigaev Date: Mon, 19 Jan 2004 18:40:23 +0000 (+0000) Subject: Correct type for isalnum X-Git-Tag: REL7_4_2~64 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=767adcf5d63b9fb72a3951a8270d4ce1575f1294;p=postgresql Correct type for isalnum --- diff --git a/contrib/ltree/ltree.h b/contrib/ltree/ltree.h index c732a37fa2..edcda22e4b 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 */