]> git.sesse.net Git - stockfish/blobdiff - src/movepick.cpp
Fix some warnings under +w1 HP-UX compile
[stockfish] / src / movepick.cpp
index 10835e6872e832a06d36e51e77f22c93757c2d64..19785b64ab027606e138a44da71c16f8d12442b7 100644 (file)
@@ -111,7 +111,7 @@ MovePicker::MovePicker(const Position& p, Move ttm, Depth d,
           searchTT = ttMoves[0].move = MOVE_NONE;
   }
 
-  phasePtr += !searchTT - 1;
+  phasePtr += int(!searchTT) - 1;
   go_next_phase();
 }