]> git.sesse.net Git - stockfish/commit - src/misc.h
Fix signedness warning in time_to_msec()
authorMarco Costalba <mcostalba@gmail.com>
Sat, 7 Jul 2012 15:28:39 +0000 (16:28 +0100)
committerMarco Costalba <mcostalba@gmail.com>
Sat, 7 Jul 2012 15:28:39 +0000 (16:28 +0100)
commit0b3ffb54b7c6935e4e178534a4acb112aaa99a06
treee5bbd96a3521d3f956bc1f50829518d8f1b144ba
parent775488340e7f4c5054157a56461f8e76c733089e
Fix signedness warning in time_to_msec()

We have a signed integer here so let the return type
take in account that.

Found by Clang with -Weverything option.

No functional change.

Signed-off-by: Marco Costalba <mcostalba@gmail.com>
src/misc.h
src/platform.h