diff options
author | CNLohr <lohr85@gmail.com> | 2017-03-17 02:02:30 -0400 |
---|---|---|
committer | CNLohr <lohr85@gmail.com> | 2017-03-17 02:02:30 -0400 |
commit | 964e147104c902bd2feda4717dd6c852d7514231 (patch) | |
tree | 27c9af294df64a4548b28d976c7573dbe7fd6a3c /redist/json_helpers.c | |
parent | 26c9beb059c02c7f66a072b34bda04db105bb6dc (diff) | |
download | libsurvive-964e147104c902bd2feda4717dd6c852d7514231.tar.gz libsurvive-964e147104c902bd2feda4717dd6c852d7514231.tar.bz2 |
Move the HID file over to the right place.
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 eb3600b..0267932 100644 --- a/redist/json_helpers.c +++ b/redist/json_helpers.c @@ -173,7 +173,7 @@ void json_load_file(const char* path) { int16_t children = -1; - for (i=0; i<items; i+=2) + for (i=0; i<(int)items; i+=2) { //increment i on each successful tag + values combination, not individual tokens jsmntok_t* tag_t = tokens+i; |