diff -r f0fc70b6f8f9 -r 2a6d83f4677e src/chess/knight.c --- a/src/chess/knight.c Thu Jul 30 18:34:15 2026 +0200 +++ b/src/chess/knight.c Thu Jul 30 19:17:38 2026 +0200 @@ -31,7 +31,7 @@ #include "rules.h" #include -bool knight_chkrules(Move *move) { +bool knight_chkrules(const Move *move) { int dx = abs(move->fromfile - move->tofile); int dy = abs(move->fromrow - move->torow);