From ca84af553cbaae45b17cce04d457b2e61cc4277c Mon Sep 17 00:00:00 2001 From: Paul Selkirk Date: Mon, 23 Oct 2017 18:05:31 -0400 Subject: Cleanup signed/unsigned mismatches, mostly in loop counters --- ks_volatile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ks_volatile.c') diff --git a/ks_volatile.c b/ks_volatile.c index 1586f3d..2d0abd4 100644 --- a/ks_volatile.c +++ b/ks_volatile.c @@ -227,7 +227,7 @@ static hal_error_t ks_volatile_logout(hal_ks_t *ks, if (ks != hal_ks_volatile || client.handle == HAL_HANDLE_NONE) return HAL_ERROR_IMPOSSIBLE; - for (int i = 0; i < ks->used; i++) { + for (unsigned i = 0; i < ks->used; i++) { unsigned b = ks->index[i]; hal_error_t err; int hint = i; -- cgit v1.2.3