diff --git a/source/lib/smbldap.c b/source/lib/smbldap.c index c2c58c0abf7..efe3a1b4dbf 100644 --- a/source/lib/smbldap.c +++ b/source/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