summaryrefslogtreecommitdiff
path: root/src/flash/str7x.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/flash/str7x.c')
-rw-r--r--src/flash/str7x.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/flash/str7x.c b/src/flash/str7x.c
index 8d151cf7..1d9396be 100644
--- a/src/flash/str7x.c
+++ b/src/flash/str7x.c
@@ -478,7 +478,7 @@ static int str7x_write(struct flash_bank_s *bank, u8 *buffer, u32 offset, u32 co
u32 address = bank->base + offset;
u32 bytes_written = 0;
u32 cmd;
- u32 retval;
+ int retval;
u32 check_address = offset;
int i;