From d4b1de708ccba5a12fad7376a6a201d077f0f153 Mon Sep 17 00:00:00 2001 From: Christoph Huber Date: Tue, 9 Jan 2024 11:19:10 +0100 Subject: [PATCH] httpauth: fix win onversion warning --- src/httpauth/digest.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/httpauth/digest.c b/src/httpauth/digest.c index 88aa6760c..43f7c0f0e 100644 --- a/src/httpauth/digest.c +++ b/src/httpauth/digest.c @@ -1071,7 +1071,7 @@ int httpauth_digest_response_full(struct httpauth_digest_enc_resp **presp, /* create cnonce & nonce count */ resp->cnonce = rand_u32(); - resp->nc = re_atomic_rlx_add(&nc, 1); + resp->nc = (uint32_t) re_atomic_rlx_add(&nc, 1); /* copy fields */ err = pl_strdup(&resp->realm, &chall->realm);