summaryrefslogtreecommitdiffstats
path: root/it85spi.c
diff options
context:
space:
mode:
Diffstat (limited to 'it85spi.c')
-rw-r--r--it85spi.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/it85spi.c b/it85spi.c
index 3cd551420..5ce9193d9 100644
--- a/it85spi.c
+++ b/it85spi.c
@@ -327,7 +327,7 @@ static int it85xx_spi_send_command(struct flashctx *flash,
const unsigned char *writearr,
unsigned char *readarr)
{
- int i;
+ unsigned int i;
it85xx_enter_scratch_rom();
/* Exit scratch ROM ONLY when programmer shuts down. Otherwise, the