Fix MinGW warnings

I finally got SF to compile under MinGW (after adding pthread libraries)
and here are the fixed warnings.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
Marco Costalba
2010-11-01 11:44:46 +01:00
parent 19cf779629
commit d607febb38
3 changed files with 12 additions and 9 deletions

View File

@@ -138,7 +138,10 @@ namespace {
else if (token == "d")
pos.print();
else if (token == "flip")
pos.flipped_copy(Position(pos, pos.thread()));
{
Position p(pos, pos.thread());
pos.flipped_copy(p);
}
else if (token == "eval")
{
Value evalMargin;