summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2008-06-03 20:41:55 +0200
committerGünther Deschner <gd@samba.org>2008-06-03 20:41:55 +0200
commitdcdeab4d4e968ed3bdcea264f9c59ecfa3d64707 (patch)
tree72aae9d6b8c0ab68364ab5c27aa01f3cd896f7dd /source3
parent4f6ea219d6bab1532714e63f9b2f41a6ca4ea4e4 (diff)
downloadsamba-dcdeab4d4e968ed3bdcea264f9c59ecfa3d64707.tar.gz
samba-dcdeab4d4e968ed3bdcea264f9c59ecfa3d64707.tar.bz2
samba-dcdeab4d4e968ed3bdcea264f9c59ecfa3d64707.zip
build: fix build warning.
Guenther (This used to be commit 62fcad0c0548ab53e9c20cfd6301972c68172b95)
Diffstat (limited to 'source3')
-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