summaryrefslogtreecommitdiff
path: root/source3/lib/smbldap.c
diff options
context:
space:
mode:
Diffstat (limited to 'source3/lib/smbldap.c')
-rw-r--r--source3/lib/smbldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c
index c2c58c0abf..efe3a1b4db 100644
--- a/source3/lib/smbldap.c
+++ b/source3/lib/smbldap.c
@@ -694,7 +694,7 @@ int smb_ldap_setup_conn(LDAP **ldap_struct, const char *uri)
rc = ldap_set_option(*ldap_struct, LDAP_OPT_NETWORK_TIMEOUT, &ct);
if (rc != LDAP_SUCCESS) {
DEBUG(0,("Failed to setup an ldap connection timeout %d: %s\n",
- ct.tv_sec, ldap_err2string(rc)));
+ (int)ct.tv_sec, ldap_err2string(rc)));
}
}
#endif