]> git.sesse.net Git - stockfish/blobdiff - src/piece.h
Fix a warning under Intel compiler in square.h
[stockfish] / src / piece.h
index cf23c0288c2e79dc25bf6cdc6da720f858011532..5e1e58c6b64d571817504c767f8ef16d72cca988 100644 (file)
@@ -104,7 +104,7 @@ inline bool piece_is_ok(Piece pc) {
 //// Prototypes
 ////
 
-extern int piece_type_to_char(PieceType pt, bool upcase = false);
+extern char piece_type_to_char(PieceType pt, bool upcase = false);
 extern PieceType piece_type_from_char(char c);