summaryrefslogtreecommitdiff
path: root/src/providers
diff options
context:
space:
mode:
authorBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-15 13:48:22 +0200
committerBenjamin Franzke <benjaminfranzke@googlemail.com>2013-10-17 13:25:16 +0200
commit612c71b24c39948168cefb691de563b56ff9915b (patch)
tree784d0746220af12a4bac842589e05a6a605b0a47 /src/providers
parentecb189056033913d172c2c9dd19d558f7c468a7a (diff)
downloadsssd-612c71b24c39948168cefb691de563b56ff9915b.tar.gz
sssd-612c71b24c39948168cefb691de563b56ff9915b.tar.bz2
sssd-612c71b24c39948168cefb691de563b56ff9915b.zip
heimdal: krb5_deltat may be int32_t or time_t
Cast to int for usable in printf using %d. FIXME: Or rather to int64_t since time_t may be long int?
Diffstat (limited to 'src/providers')
-rw-r--r--src/providers/ldap/ldap_child.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/providers/ldap/ldap_child.c b/src/providers/ldap/ldap_child.c
index 465ea676..d6435b93 100644
--- a/src/providers/ldap/ldap_child.c
+++ b/src/providers/ldap/ldap_child.c
@@ -97,7 +97,7 @@ static errno_t unpack_buffer(uint8_t *buf, size_t size,
/* ticket lifetime */
SAFEALIGN_COPY_INT32_CHECK(&ibuf->lifetime, buf + p, size, &p);
- DEBUG(SSSDBG_TRACE_LIBS, ("lifetime: %d\n", ibuf->lifetime));
+ DEBUG(SSSDBG_TRACE_LIBS, ("lifetime: %d\n", (int)ibuf->lifetime));
return EOK;
}