]> git.sesse.net Git - stockfish/blobdiff - src/book.cpp
Disable templetized operators by default
[stockfish] / src / book.cpp
index dbd037885711c191b23d53622a6b6aa8db75dba9..ad0d406d343d6b3889132a28c728727394ed5924 100644 (file)
@@ -366,7 +366,7 @@ void Book::open(const string& fName) {
 
   // Get the book size in number of entries
   seekg(0, ios::end);
-  bookSize = tellg() / EntrySize;
+  bookSize = long(tellg()) / EntrySize;
   seekg(0, ios::beg);
 
   if (!good())