From f6e0ba4110818a2785aa480eaa05836b742e9992 Mon Sep 17 00:00:00 2001 From: H.G.Muller Date: Sat, 12 Mar 2016 23:30:20 +0100 Subject: [PATCH] Silence two warnings --- backend.c | 2 +- book.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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]; -- 1.7.0.4