summaryrefslogtreecommitdiff
path: root/jsmn.h
diff options
context:
space:
mode:
authorSerge A. Zaitsev <devnull@localhost>2010-11-15 17:59:51 +0200
committerSerge A. Zaitsev <devnull@localhost>2010-11-15 17:59:51 +0200
commitb99663079c1542e514f0ca8056cd87cb3683bd7e (patch)
tree9dadcc622e18fd07af0dcae578135bbfe80f7814 /jsmn.h
parentb0e73ec44dc2693b6be327c01b905193f153df4c (diff)
Fix: errpos has got a correct type now
Diffstat (limited to 'jsmn.h')
-rw-r--r--jsmn.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/jsmn.h b/jsmn.h
index ed7c1b159..12dd9fd0b 100644
--- a/jsmn.h
+++ b/jsmn.h
@@ -33,6 +33,6 @@ typedef struct {
* Run JSON parser. It parses a JSON data string into and array of tokens, each describing
* a single JSON object.
*/
-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);
#endif /* __JSMN_H_ */