From d572980f00ca60813b63f02f5d2bdb9b366d6da6 Mon Sep 17 00:00:00 2001 From: Jiri Kalvoda Date: Fri, 23 Sep 2022 12:54:09 +0200 Subject: [PATCH] =?UTF-8?q?Strategick=C3=A1:=20C:=20lep=C5=A1=C3=AD=20alok?= =?UTF-8?q?ace=20[BUGFIX]?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- klient/strategy.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/klient/strategy.cpp b/klient/strategy.cpp index b4298b5..f7e00ec 100644 --- a/klient/strategy.cpp +++ b/klient/strategy.cpp @@ -101,7 +101,7 @@ struct State // Ano, vím, že je to ošklivé, ale prostě parsovat JSON v C/C++ je za trest int r; jsmn_parser p; - t_len = 100000000; + int t_len = 100000000; jsmntok_t * t = new jsmntok_t[t_len]; /* We expect no more than this count of tokens (jsmn limitation)*/ jsmn_init(&p);