From 0e59b999fa976de2d00490f552a1ff0a27d40f63 Mon Sep 17 00:00:00 2001 From: João Silva Date: Sun, 29 Jan 2017 04:55:23 +0000 Subject: Converted most types to stdint-style (fixing a few in the process). --- source/seta011.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/seta011.c') diff --git a/source/seta011.c b/source/seta011.c index c2f2f3d..26a0f54 100644 --- a/source/seta011.c +++ b/source/seta011.c @@ -10,7 +10,7 @@ ST011_Regs ST011; uint8_t board[9][9]; // debug -static int line = 0; +static int32_t line = 0; uint8_t S9xGetST011(uint32_t Address) { @@ -104,7 +104,7 @@ void S9xSetST011(uint32_t Address, uint8_t Byte) { // 9x9 board data: top to bottom, left to right // Values represent piece types and ownership - int lcv; + int32_t lcv; for (lcv = 0; lcv < 9; lcv++) memcpy(board[lcv], ST011.parameters + lcv * 10, 9 * 1); } -- cgit v1.2.3