"#define key_t" -> hkey_t type

This commit is contained in:
2024-06-06 07:38:01 +02:00
parent 06904f8a77
commit 00fc61020c
4 changed files with 21 additions and 13 deletions

View File

@@ -66,9 +66,9 @@ void zobrist_init(void)
*
* @return: @pos Zobrist key
*/
key_t zobrist_calc(pos_t *pos)
hkey_t zobrist_calc(pos_t *pos)
{
key_t key = 0;
hkey_t key = 0;
if (pos->turn == BLACK)
key ^= zobrist_turn;