mirror of
https://github.com/kgabis/parson.git
synced 2025-02-05 08:55:30 +00:00
Fix signed char fed to isspace
This commit is contained in:
parent
b87a27c15c
commit
385b476a30
2
parson.c
2
parson.c
@ -45,7 +45,7 @@
|
||||
|
||||
#define SIZEOF_TOKEN(a) (sizeof(a) - 1)
|
||||
#define SKIP_CHAR(str) ((*str)++)
|
||||
#define SKIP_WHITESPACES(str) while (isspace(**str)) { SKIP_CHAR(str); }
|
||||
#define SKIP_WHITESPACES(str) while (isspace((unsigned char)(**str))) { SKIP_CHAR(str); }
|
||||
#define MAX(a, b) ((a) > (b) ? (a) : (b))
|
||||
|
||||
#undef malloc
|
||||
|
Loading…
Reference in New Issue
Block a user