Skip to content

Commit

Permalink
httpauth: change loop counter to size_t
Browse files Browse the repository at this point in the history
  • Loading branch information
cHuberCoffee committed Sep 20, 2023
1 parent 2c85167 commit e6a2361
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/httpauth.c
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down Expand Up @@ -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;

Expand Down

0 comments on commit e6a2361

Please sign in to comment.