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:
Marco Costalba
2009-02-07 12:31:53 +01:00
parent 2ea7449f2a
commit fa322b3768
3 changed files with 6 additions and 6 deletions

View File

@@ -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);