X-Git-Url: http://winboard.nl/cgi-bin?a=blobdiff_plain;f=uci.c;h=03c664781f833917085255397fe9cbadb0196012;hb=5eed4adb3552562329c0b0b460c8851efb1a38bb;hp=e44fa34f5a3445a1d4e20989dbde28f42acc56ee;hpb=1087eb7b2d8447adf9a7deb549d4004a87b46b10;p=polyglot.git 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); }