diff options
author | Paul Selkirk <paul@psgd.org> | 2017-10-11 17:32:33 -0400 |
---|---|---|
committer | Paul Selkirk <paul@psgd.org> | 2017-10-11 17:36:00 -0400 |
commit | 4026cce22d330d3b9c4b218dd2e19d4f60412e05 (patch) | |
tree | 7f04989c6905f6b80b4d5d3cfe65a430f6b6ed2c /stm-keystore.c | |
parent | c746ed393aff2a86a1f53e636d2530559be53d6f (diff) |
Cleanup: signed/unsigned mismatches, mostly in loop counters
Diffstat (limited to 'stm-keystore.c')
-rw-r--r-- | stm-keystore.c | 2 |
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; } |