diff options
author | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-15 13:48:22 +0200 |
---|---|---|
committer | Benjamin Franzke <benjaminfranzke@googlemail.com> | 2013-10-17 13:43:59 +0200 |
commit | 7b311152235b74d932afc6417b2f2199f2b0fa03 (patch) | |
tree | 50973c118d949c12268b7c447430dc314a191aee | |
parent | 397309037a5cafb4200c776239997b36e3177dc1 (diff) | |
download | sssd-7b311152235b74d932afc6417b2f2199f2b0fa03.tar.gz sssd-7b311152235b74d932afc6417b2f2199f2b0fa03.tar.bz2 sssd-7b311152235b74d932afc6417b2f2199f2b0fa03.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?
-rw-r--r-- | src/providers/ldap/ldap_child.c | 2 |
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; } |