diff options
author | Eric Haszlakiewicz <erh+git@nimenees.com> | 2017-09-07 22:45:48 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-09-07 22:45:48 -0400 |
commit | 5454c4eaa3a55f38e8ce90cbdb130a1923baffa9 (patch) | |
tree | af17f0cebcf589c1c74f452d2116a60ba21c6be6 /json_object.c | |
parent | 4ac47a02194f48c541fe5f96c11944a7e93b5640 (diff) | |
parent | e3fabe9a44c4b6fc03bcd8a7214db53dc51fc40c (diff) | |
download | json-c-5454c4eaa3a55f38e8ce90cbdb130a1923baffa9.tar.gz |
Merge pull request #360 from jasonbking/master
Use strtoll() to parse ints
Diffstat (limited to 'json_object.c')
-rw-r--r-- | json_object.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/json_object.c b/json_object.c index 01ee0a8..9ffb149 100644 --- a/json_object.c +++ b/json_object.c @@ -33,6 +33,10 @@ #include "strdup_compat.h" #include "snprintf_compat.h" +#if SIZEOF_LONG_LONG != SIZEOF_INT64_T +#error "The long long type isn't 64-bits" +#endif + // Don't define this. It's not thread-safe. /* #define REFCOUNT_DEBUG 1 */ |