URL: https://github.com/SSSD/sssd/pull/5653 Author: sumit-bose Title: #5653: kcm: use %zu as format for size_t Action: opened
PR body: """ size_t might be a different integer type on different platforms. The %z length modifier was added to handle this. Resolves: https://github.com/SSSD/sssd/issues/2765 """ To pull the PR as Git branch: git remote add ghsssd https://github.com/SSSD/sssd git fetch ghsssd pull/5653/head:pr5653 git checkout pr5653
From 0a79d5f8c581d28bb80a23e63a52bfa5f0e99fab Mon Sep 17 00:00:00 2001 From: Sumit Bose <sb...@redhat.com> Date: Tue, 25 May 2021 15:33:15 +0200 Subject: [PATCH] kcm: use %zu as format for size_t size_t might be a different integer type on different platforms. The %z length modifier was added to handle this. Resolves: https://github.com/SSSD/sssd/issues/2765 --- src/responder/kcm/kcmsrv_ccache_secdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/responder/kcm/kcmsrv_ccache_secdb.c b/src/responder/kcm/kcmsrv_ccache_secdb.c index ee48171543..6c8c35b865 100644 --- a/src/responder/kcm/kcmsrv_ccache_secdb.c +++ b/src/responder/kcm/kcmsrv_ccache_secdb.c @@ -977,7 +977,7 @@ static errno_t ccdb_secdb_list_all_cc(TALLOC_CTX *mem_ctx, goto done; } - DEBUG(SSSDBG_TRACE_INTERNAL, "Found [%lu] ccache uuids\n", uuid_list_count); + DEBUG(SSSDBG_TRACE_INTERNAL, "Found [%zu] ccache uuids\n", uuid_list_count); /* New count is full cc list size minus getpwuid() failures */ ret = ccdb_secdb_get_cc_for_uuid(mem_ctx, uuid_list_count, uuid_list,
_______________________________________________ sssd-devel mailing list -- sssd-devel@lists.fedorahosted.org To unsubscribe send an email to sssd-devel-le...@lists.fedorahosted.org Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedorahosted.org/archives/list/sssd-devel@lists.fedorahosted.org Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure