summaryrefslogtreecommitdiff
path: root/chess.h
diff options
context:
space:
mode:
Diffstat (limited to 'chess.h')
-rw-r--r--chess.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chess.h b/chess.h
index df24af4..d7ac519 100644
--- a/chess.h
+++ b/chess.h
@@ -35,7 +35,7 @@ struct move_t {
enum { NORMAL, CASTLE, PROMOTION, NOMOVE } type;
union {
struct { struct coordinates to, from; } normal;
- enum { QUEENSIDE, KINGSIDE } castle_style;
+ enum { QUEENSIDE = 0, KINGSIDE } castle_style;
struct promotion_t promotion;
} data;
};