From: Günther Deschner Date: Tue, 3 Jun 2008 18:41:55 +0000 (+0200) Subject: build: fix build warning. X-Git-Tag: samba-4.0.0alpha6~801^2~1177 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=dcdeab4d4e968ed3bdcea264f9c59ecfa3d64707;p=thirdparty%2Fsamba.git build: fix build warning. Guenther (This used to be commit 62fcad0c0548ab53e9c20cfd6301972c68172b95) --- diff --git a/source3/lib/smbldap.c b/source3/lib/smbldap.c index c2c58c0abf7..efe3a1b4dbf 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