depth: Fix build error

This commit is contained in:
Calcitem 2021-04-24 23:00:02 +08:00
parent 90cb4c967c
commit d8211395ab
1 changed files with 1 additions and 1 deletions

View File

@ -429,7 +429,7 @@ void move_priority_list_shuffle()
Depth getSearchDepth(const Position *pos) Depth getSearchDepth(const Position *pos)
{ {
if (!gameOptions.getDeveloperMode()) { if (!gameOptions.getDeveloperMode()) {
return gameOptions.getSkillLevel(); return (Depth)gameOptions.getSkillLevel();
} }
Depth d = 0; Depth d = 0;