From b99663079c1542e514f0ca8056cd87cb3683bd7e Mon Sep 17 00:00:00 2001 From: "Serge A. Zaitsev" Date: Mon, 15 Nov 2010 17:59:51 +0200 Subject: Fix: errpos has got a correct type now --- jsmn.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'jsmn.c') diff --git a/jsmn.c b/jsmn.c index bdaa49c5e..7057bc811 100644 --- a/jsmn.c +++ b/jsmn.c @@ -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; -- cgit v1.2.3