From: Pavel Filipenský Date: Mon, 18 Jul 2022 13:28:10 +0000 (+0200) Subject: s3:winbind: Change '%u' to '%PRIu32' for uint32_t in wb_lookupusergroups.c X-Git-Tag: tevent-0.13.0~86 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=547b51935c94d8618d700a8b50d3ad801905e0d9;p=thirdparty%2Fsamba.git s3:winbind: Change '%u' to '%PRIu32' for uint32_t in wb_lookupusergroups.c Signed-off-by: Pavel Filipenský Reviewed-by: Andreas Schneider --- diff --git a/source3/winbindd/wb_lookupusergroups.c b/source3/winbindd/wb_lookupusergroups.c index c4ac1be8078..7ac1b6e03d2 100644 --- a/source3/winbindd/wb_lookupusergroups.c +++ b/source3/winbindd/wb_lookupusergroups.c @@ -107,12 +107,13 @@ NTSTATUS wb_lookupusergroups_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx, *num_sids = state->sids.num_sids; *sids = talloc_move(mem_ctx, &state->sids.sids); - D_INFO("WB command lookupusergroups end.\nReceived %u SID(s).\n", + D_INFO("WB command lookupusergroups end.\nReceived %"PRIu32" SID(s).\n", *num_sids); if (CHECK_DEBUGLVL(DBGLVL_INFO)) { for (i = 0; i < *num_sids; i++) { struct dom_sid_buf buf; - D_INFO("%u: %s\n", i, dom_sid_str_buf(&((*sids)[i]), &buf)); + D_INFO("%"PRIu32": %s\n", + i, dom_sid_str_buf(&*sids[i], &buf)); } } return NT_STATUS_OK;