diff options
author | Serge A. Zaitsev <devnull@localhost> | 2010-11-15 17:59:51 +0200 |
---|---|---|
committer | Serge A. Zaitsev <devnull@localhost> | 2010-11-15 17:59:51 +0200 |
commit | b99663079c1542e514f0ca8056cd87cb3683bd7e (patch) | |
tree | 9dadcc622e18fd07af0dcae578135bbfe80f7814 /jsmn.c | |
parent | b0e73ec44dc2693b6be327c01b905193f153df4c (diff) |
Fix: errpos has got a correct type now
Diffstat (limited to 'jsmn.c')
-rw-r--r-- | jsmn.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -5,7 +5,7 @@ struct jsmn_params { jsontok_t *tokens; size_t num_tokens; - int **errpos; + int *errpos; }; /** @@ -98,7 +98,7 @@ static jsontok_t *jsmn_token_end(struct jsmn_params *params, jsontype_t type, in return NULL; } -int jsmn_parse(const unsigned char *js, jsontok_t *tokens, size_t num_tokens, int **errpos) { +int jsmn_parse(const unsigned char *js, jsontok_t *tokens, size_t num_tokens, int *errpos) { struct jsmn_params params; |