aboutsummaryrefslogtreecommitdiff
path: root/projects/hsm/mgmt-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 /projects/hsm/mgmt-keystore.c
parentc746ed393aff2a86a1f53e636d2530559be53d6f (diff)
Cleanup: signed/unsigned mismatches, mostly in loop counters
Diffstat (limited to 'projects/hsm/mgmt-keystore.c')
-rw-r--r--projects/hsm/mgmt-keystore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/hsm/mgmt-keystore.c b/projects/hsm/mgmt-keystore.c
index 0104265..9bd9dbf 100644
--- a/projects/hsm/mgmt-keystore.c
+++ b/projects/hsm/mgmt-keystore.c
@@ -205,7 +205,7 @@ static int show_keys(struct cli_def *cli, const char *title)
if (!done)
previous_uuid = uuids[sizeof(uuids)/sizeof(*uuids) - 1];
- for (int i = 0; i < n; i++) {
+ for (unsigned i = 0; i < n; i++) {
if ((status = hal_uuid_format(&uuids[i], key_name, sizeof(key_name))) != LIBHAL_OK) {
cli_print(cli, "Could not convert key name, skipping: %s",