summaryrefslogtreecommitdiff
path: root/src/flash/str9x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/str9x.c')
-rw-r--r--src/flash/str9x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/str9x.c b/src/flash/str9x.c
index c1e97dbb..45a3fd67 100644
--- a/src/flash/str9x.c
+++ b/src/flash/str9x.c
@@ -509,7 +509,7 @@ static int str9x_write(struct flash_bank_s *bank,
u32 address = bank->base + offset;
u32 bytes_written = 0;
u8 status;
- u32 retval;
+ int retval;
u32 check_address = offset;
u32 bank_adr;
int i;