From bcb82e2a327fb2687eca285668fb2014fd61484a Mon Sep 17 00:00:00 2001 From: Niko Mauno Date: Thu, 5 Sep 2024 13:08:09 +0000 Subject: [PATCH] eng_back: Fix compiler warning for 32-bit Amend printf formatter to avoid following compiler warning when building for 32-bit: .../src/eng_back.c:550:85: warning: format '%lu' expects argument of type 'long unsigned int', but argument 4 has type 'size_t' {aka 'unsigned int'} [-Wformat=] Signed-off-by: Niko Mauno --- src/eng_back.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/eng_back.c b/src/eng_back.c index 5337fbb3..cb4de5f8 100644 --- a/src/eng_back.c +++ b/src/eng_back.c @@ -547,7 +547,7 @@ static void *ctx_try_load_object(ENGINE_CTX *ctx, goto error; } } else { - ctx_log(ctx, 0, "Multiple matching slots (%lu); will not try to" + ctx_log(ctx, 0, "Multiple matching slots (%zu); will not try to" " login\n", matched_count); for (m = 0; m < matched_count; m++){ slot = matched_slots[m];