|
|
| version 1.1, 2010/08/31 12:59:43 | version 1.2, 2010/09/02 22:56:54 |
|---|---|
| Line 455 new_JSON_parser(JSON_config* config) | Line 455 new_JSON_parser(JSON_config* config) |
| int depth = 0; | int depth = 0; |
| JSON_config default_config; | JSON_config default_config; |
| JSON_parser jc = JSON_parser_malloc(sizeof(struct JSON_parser_struct), "parser"); | JSON_parser jc = (JSON_parser)JSON_parser_malloc(sizeof(struct JSON_parser_struct), "parser"); |
| if (jc == NULL) { | if (jc == NULL) { |
| return NULL; | return NULL; |