X-Git-Url: http://winboard.nl/cgi-bin?p=polyglot.git;a=blobdiff_plain;f=uci.c;h=03c664781f833917085255397fe9cbadb0196012;hp=e44fa34f5a3445a1d4e20989dbde28f42acc56ee;hb=446bfd706349c3e1f19916a16558a2f4f7dc8e54;hpb=aaf072500213db1bed274a2dd8ebe711f21ab898 diff --git a/uci.c b/uci.c index e44fa34..03c6647 100644 --- a/uci.c +++ b/uci.c @@ -22,7 +22,7 @@ static const bool UseDebug = FALSE; -static const int StringSize = 4096; +#define StringSize ((int)4096) // variables @@ -61,8 +61,8 @@ static int mate_score (int dist); // uci_set_threads() void uci_set_threads(uci_t * uci, int n) { - ASSERT(n>=1); const char *thread_option=uci_thread_option(uci); + ASSERT(n>=1); if(thread_option){ uci_send_option(uci,thread_option,"%d",n); }