]> granicus.if.org Git - postgresql/commitdiff
Correct type for isalnum
authorTeodor Sigaev <teodor@sigaev.ru>
Mon, 19 Jan 2004 18:39:45 +0000 (18:39 +0000)
committerTeodor Sigaev <teodor@sigaev.ru>
Mon, 19 Jan 2004 18:39:45 +0000 (18:39 +0000)
contrib/ltree/ltree.h

index c732a37fa2dd287c632decfc302615025769b779..edcda22e4b965c999713ebb854ea464a81c20922 100644 (file)
@@ -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 */