X-Git-Url: http://4ch.mooo.com/gitweb/?a=blobdiff_plain;f=src%2Flib%2Fjsmn%2Fexample%2Fmaptest.c;h=860c8f94f42494bad5989a090e7b7c6e7d6dfbe1;hb=5b03805ad89b6673dc01e7534ae4926bfc6d6d78;hp=cdf43779a4c6100b770ca7fcc888afe61286cb9c;hpb=b8adc0fcd0ebf3a49e9383654eded08df55081d3;p=16.git diff --git a/src/lib/jsmn/example/maptest.c b/src/lib/jsmn/example/maptest.c index cdf43779..860c8f94 100644 --- a/src/lib/jsmn/example/maptest.c +++ b/src/lib/jsmn/example/maptest.c @@ -38,9 +38,9 @@ int main() { int r; jsmn_parser p; FILE *fh = fopen("../../../../data/test.map", "r"); - jsmntok_t t[2048]; /* We expect no more than 128 tokens */ - char JSON_S[8192]; - memset(JSON_S, 0, sizeof JSON_S); + jsmntok_t t[1536]; /* We expect no more than 128 tokens */ + char JSON_S[6144]; + memset(JSON_S, 0, sizeof(JSON_S)); if(fh != NULL) {