typedef key -> #define key_t - can't use typedef, due to <sys/types.h>

This commit is contained in:
2024-05-15 09:42:33 +02:00
parent 9ef262af48
commit 022daf0a89
5 changed files with 33 additions and 12 deletions

View File

@@ -59,9 +59,9 @@ void zobrist_init(void)
* - To verify incremental Zobrist calculation is correct
*
*/
key zobrist_calc(pos_t *pos)
key_t zobrist_calc(pos_t *pos)
{
key key = 0;
key_t key = 0;
if (pos->turn == BLACK)
key ^= zobrist_turn;