Merge pull request #91 from JetstreamRoySprowl/master

Fix signed char fed to isspace
pull/93/merge
Krzysztof Gabis 7 years ago committed by GitHub
commit bef4969d25
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 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…
Cancel
Save