]> git.sesse.net Git - stockfish/blobdiff - src/evaluate.cpp
Silence a good bunch of Intel warnings
[stockfish] / src / evaluate.cpp
index f654b515ef361b2cd7fe11e54ec1c1a05186af34..c22b591380433388fe37220dec5aa2607bbb2cb6 100644 (file)
@@ -490,7 +490,7 @@ void init_eval(int threads) {
   }
 
   for (Bitboard b = 0ULL; b < 256ULL; b++)
-      BitCount8Bit[b] = count_1s(b);
+      BitCount8Bit[b] = (uint8_t)count_1s(b);
 }