aboutsummaryrefslogtreecommitdiff
path: root/stm-keystore.c
diff options
context:
space:
mode:
Diffstat (limited to 'stm-keystore.c')
-rw-r--r--stm-keystore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stm-keystore.c b/stm-keystore.c
index 6bec008..2596373 100644
--- a/stm-keystore.c
+++ b/stm-keystore.c
@@ -99,7 +99,7 @@ int keystore_erase_bulk(void)
int keystore_erase_subsectors(uint32_t start, uint32_t stop)
{
- for (int i = start; i <= stop; ++i) {
+ for (uint32_t i = start; i <= stop; ++i) {
if (keystore_erase_subsector(i) != 1)
return 0;
}