Update json.c

Although the original version works as expected, the argument order should be changed to calloc's signature:
void* calloc (size_t num, size_t size);
http://www.cplusplus.com/reference/cstdlib/calloc/
Expose maximum size for error buffer in header
Merge pull request #38 from LB--/master

Expose maximum size for error buffer in header
Solves a gcc warning for 'static' after 'const'.

json.c:192:1: warning: ‘static’ is not at beginning of declaration [-Wold-style-declaration]
 const static long
  ^
Implement optional support for line and block comments
Add name_length field to object values (closes #41)
Merge branch 'bugfix-const-static' of https://github.com/batrick/json-parser into batrick-bugfix-const-static
Merge pull request #33 from holyhead/patch-1

Fix order of calloc call
Add cast to unsigned char when checking for UTF-8 BOM
Unicode fix: Support >16-bit Unicode sequences. Parsing for UTF16 surrogate
pairs, and generation of UTF8 4-byte sequences.
Merge pull request #44 from Wilm0r/master

Unicode fix: Support >16-bit Unicode sequences.
Update AUTHORS
Implement source tracking (line/column numbers in json_value)
Merge branch 'master' of https://github.com/udp/json-parser into source-tracking
Allow the application to extend json_value with a value_extra setting
Update AUTHORS (closes #42)
Merge branch 'source-tracking'
Un-ambiguate pow call in the case of C++ overloaded pow
Update AUTHORS (closes #24)