From: H.G.Muller Date: Sat, 12 Mar 2016 22:30:20 +0000 (+0100) Subject: Silence two warnings X-Git-Url: http://winboard.nl/cgi-bin?p=xboard.git;a=commitdiff_plain;h=f6e0ba4110818a2785aa480eaa05836b742e9992 Silence two warnings --- diff --git a/backend.c b/backend.c index b2cd7c3..f538477 100644 --- a/backend.c +++ b/backend.c @@ -387,7 +387,7 @@ u64ToDouble (u64 value) by this function. */ int -PosFlags (index) +PosFlags (int index) { int flags = F_ALL_CASTLE_OK; if ((index % 2) == 0) flags |= F_WHITE_ON_MOVE; diff --git a/book.c b/book.c index a777edc..1c013c2 100644 --- a/book.c +++ b/book.c @@ -647,7 +647,7 @@ InitMemBook () } char * -MCprobe (moveNr) +MCprobe (int moveNr) { int count, count2, games, i, choice=0; entry_t entries[MOVE_BUF];