From e6a2361670d18bda44395ff5ff35838491e8a312 Mon Sep 17 00:00:00 2001 From: Christoph Huber Date: Wed, 20 Sep 2023 08:27:10 +0200 Subject: [PATCH] httpauth: change loop counter to size_t --- test/httpauth.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/test/httpauth.c b/test/httpauth.c index 1053dc8a3..cc0c91ec4 100644 --- a/test/httpauth.c +++ b/test/httpauth.c @@ -411,7 +411,7 @@ int test_httpauth_digest_request(void) }; int err = 0; - for (unsigned int i = 0; i < RE_ARRAY_SIZE(testv); i++) { + for (size_t i = 0; i < RE_ARRAY_SIZE(testv); i++) { struct httpauth_digest_chall_req *req = NULL; struct mbuf *mb_refval = NULL; struct mbuf *mb_printed = NULL; @@ -592,7 +592,7 @@ int test_httpauth_digest_response(void) int err; - for (unsigned int i = 0; i < RE_ARRAY_SIZE(testv); i++) { + for (size_t i = 0; i < RE_ARRAY_SIZE(testv); i++) { struct httpauth_digest_enc_resp *resp = NULL; struct mbuf *mb_printed = NULL;