mirror of
https://github.com/kgabis/parson.git
synced 2025-02-05 17:05:29 +00:00
Merge pull request #91 from JetstreamRoySprowl/master
Fix signed char fed to isspace
This commit is contained in:
commit
bef4969d25
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