aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/bitboard.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/bitboard.c b/src/bitboard.c
index c0abbf8..e53e3ed 100644
--- a/src/bitboard.c
+++ b/src/bitboard.c
@@ -5,7 +5,7 @@
* (i.e the board is actually flipped along X) */
void printBitboard(Bitboard bb) {
for (U64 index = 0; index < 64; index++) {
- printf("%lu", (bb >> index) & 1);
+ printf("%c", (bb >> index) & 1 ? '1' : '.');
if ((index + 1) % 8 == 0) printf("\n");
}
printf("\n\n");