Commit 23976020 authored by Teodor Sigaev's avatar Teodor Sigaev

Correct type for isalnum

parent 1469af86
...@@ -87,7 +87,7 @@ typedef struct ...@@ -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 */
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment