From: Marco Costalba Date: Sun, 26 Feb 2012 11:04:35 +0000 (+0100) Subject: Fix MSVC warning on streampos to size_t conversion X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;ds=sidebyside;h=8751b18cf0b5ddb9d7549a465444d5ace215a097;hp=8751b18cf0b5ddb9d7549a465444d5ace215a097;p=stockfish Fix MSVC warning on streampos to size_t conversion Fix this warning with MSVC 64 bits: warning C4244: '=' : conversion from 'std::streampos' to 'size_t', possible loss of data Point is that std::streampos could be negative, while size_t is always non-negative. No functional change. Signed-off-by: Marco Costalba ---