diff options
author | Mike Turvey <mturvey6@gmail.com> | 2018-01-15 22:40:14 -0700 |
---|---|---|
committer | Mike Turvey <mturvey6@gmail.com> | 2018-01-15 22:40:14 -0700 |
commit | b2eb7569a8963917116c4520e15b17f0578a2509 (patch) | |
tree | 0d9eea391f3b266bcb80c47131092e0dbf317600 /redist/json_helpers.c | |
parent | 7817da63526f35d10d6d4f6b3d9c02280719e023 (diff) | |
download | libsurvive-b2eb7569a8963917116c4520e15b17f0578a2509.tar.gz libsurvive-b2eb7569a8963917116c4520e15b17f0578a2509.tar.bz2 |
Fix a few warnings
Diffstat (limited to 'redist/json_helpers.c')
-rw-r--r-- | redist/json_helpers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/redist/json_helpers.c b/redist/json_helpers.c index 8da841b..109708a 100644 --- a/redist/json_helpers.c +++ b/redist/json_helpers.c @@ -193,7 +193,7 @@ void json_load_file(const char* path) { } else if (value_t->type == JSMN_OBJECT) { printf("Begin Object\n"); if (json_begin_object != NULL) json_begin_object(tag); - children = value_t->size +1; //+1 to account for this loop where we are not yed parsing children + children = (int16_t)(value_t->size +1); //+1 to account for this loop where we are not yed parsing children // i += decode_jsmn_object(JSON_STRING, tokens+i+2,value_t->size); } else { |