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 --- rpc_api.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'rpc_api.c') diff --git a/rpc_api.c b/rpc_api.c index 1a2d268..1dc8869 100644 --- a/rpc_api.c +++ b/rpc_api.c @@ -352,7 +352,7 @@ hal_error_t hal_rpc_pkey_match(const hal_client_handle_t client, return HAL_ERROR_BAD_ARGUMENTS; if (attributes != NULL) - for (int i = 0; i < attributes_len; i++) + for (size_t i = 0; i < attributes_len; i++) if (attributes[i].value == NULL) return HAL_ERROR_BAD_ARGUMENTS; -- cgit v1.2.3