aboutsummaryrefslogtreecommitdiff
path: root/stm-keystore.c
diff options
context:
space:
mode:
authorPaul Selkirk <paul@psgd.org>2017-10-11 17:32:33 -0400
committerPaul Selkirk <paul@psgd.org>2017-10-11 17:36:00 -0400
commit4026cce22d330d3b9c4b218dd2e19d4f60412e05 (patch)
tree7f04989c6905f6b80b4d5d3cfe65a430f6b6ed2c /stm-keystore.c
parentc746ed393aff2a86a1f53e636d2530559be53d6f (diff)
Cleanup: signed/unsigned mismatches, mostly in loop counters
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;
}