]> git.sesse.net Git - stockfish/blobdiff - src/movegen.h
Retire move_is_short_castle() and move_is_long_castle()
[stockfish] / src / movegen.h
index 4e58d0ffaea115d9e801deb8d5fb175f5f19a209..fdac5d0ba00856ac489b66220d3164fb0f3a005e 100644 (file)
@@ -43,7 +43,7 @@ struct MoveList {
   void operator++() { cur++; }
   bool end() const { return cur == last; }
   Move move() const { return cur->move; }
-  int size() const { return last - mlist; }
+  int size() const { return int(last - mlist); }
 
 private:
   MoveStack mlist[MAX_MOVES];