mcostalba/Stockfish — comment on commit 5c8af7ccb8f59f901740d5a8f4a9270f69487583
File:  line 0
By mcostalba:

On Thu, Nov 3, 2011 at 18:25, Kingdefender

wrote:
> Hello Marco,
>
> I wonder if any Windows compilers reported any problems with this commit.

No, I compile with MSVC on both 32 and 64 bits and got no errors with
current master.

I think the errors are due to the fact that you are comparing with
std::min / std::max variables of different types. if you cannot change
the variable type I'd suggest to cast to a uniform type, something
like this:

int i;
long l;

std::min(l, (long) i);