Skip to content

Commit

Permalink
eng_back: Fix compiler warning for 32-bit
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
nikomauno committed Sep 5, 2024
1 parent 514a8be commit bcb82e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/eng_back.c
Original file line number Diff line number Diff line change
Expand Up @@ -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];
Expand Down

0 comments on commit bcb82e2

Please sign in to comment.