]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
build: fix build warning.
authorGünther Deschner <gd@samba.org>
Tue, 3 Jun 2008 18:41:55 +0000 (20:41 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 3 Jun 2008 18:41:55 +0000 (20:41 +0200)
Guenther
(This used to be commit 62fcad0c0548ab53e9c20cfd6301972c68172b95)

source3/lib/smbldap.c

index c2c58c0abf72eec0b395d7730575547c52160f78..efe3a1b4dbfe62d2e1926b42dd390bfd3e9d7be7 100644 (file)
@@ -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