diff options
author | Lukas Slebodnik <lslebodn@redhat.com> | 2013-07-17 12:41:33 +0200 |
---|---|---|
committer | Jakub Hrozek <jhrozek@redhat.com> | 2013-09-11 19:44:54 +0200 |
commit | 0e65abe5cf2abf5d4b431cf6bd161b419f07901d (patch) | |
tree | af685729a48d4f1874113f25011484022337b13f /src/providers/ldap/ldap_child.c | |
parent | 71e234151ddc6b50576364c30bda2b72264b1083 (diff) | |
download | sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.tar.gz sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.tar.bz2 sssd-0e65abe5cf2abf5d4b431cf6bd161b419f07901d.zip |
Fix formating of variables with type: size_t
Diffstat (limited to 'src/providers/ldap/ldap_child.c')
-rw-r--r-- | src/providers/ldap/ldap_child.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/providers/ldap/ldap_child.c b/src/providers/ldap/ldap_child.c index 9d82e7cf..19c838da 100644 --- a/src/providers/ldap/ldap_child.c +++ b/src/providers/ldap/ldap_child.c @@ -57,7 +57,7 @@ static errno_t unpack_buffer(uint8_t *buf, size_t size, size_t p = 0; uint32_t len; - DEBUG(SSSDBG_TRACE_LIBS, ("total buffer size: %d\n", size)); + DEBUG(SSSDBG_TRACE_LIBS, ("total buffer size: %zu\n", size)); /* realm_str size and length */ SAFEALIGN_COPY_UINT32_CHECK(&len, buf + p, size, &p); @@ -112,7 +112,7 @@ static int pack_buffer(struct response *r, int result, krb5_error_code krberr, r->size = 2 * sizeof(uint32_t) + sizeof(krb5_error_code) + len + sizeof(time_t); - DEBUG(SSSDBG_TRACE_INTERNAL, ("response size: %d\n",r->size)); + DEBUG(SSSDBG_TRACE_INTERNAL, ("response size: %zu\n",r->size)); r->buf = talloc_array(r, uint8_t, r->size); if(!r->buf) { @@ -540,7 +540,7 @@ int main(int argc, const char *argv[]) } if (written != resp->size) { - DEBUG(SSSDBG_CRIT_FAILURE, ("Expected to write %d bytes, wrote %d\n", + DEBUG(SSSDBG_CRIT_FAILURE, ("Expected to write %zu bytes, wrote %zu\n", resp->size, written)); goto fail; } |