mirror of
https://github.com/HChaZZY/Stockfish.git
synced 2025-12-24 02:57:11 +08:00
Fix casting warnings under Intel Compiler
Int to Char warning fixed changing the function signature to int. Signed-off-by: Marco Costalba <mcostalba@gmail.com>
This commit is contained in:
@@ -160,7 +160,7 @@ inline bool piece_is_ok(Piece pc) {
|
||||
//// Prototypes
|
||||
////
|
||||
|
||||
extern char piece_type_to_char(PieceType pt, bool upcase = false);
|
||||
extern int piece_type_to_char(PieceType pt, bool upcase = false);
|
||||
extern PieceType piece_type_from_char(char c);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user