aboutsummaryrefslogtreecommitdiff
path: root/lib/ldap.c
diff options
context:
space:
mode:
authorDaniel Stenberg <daniel@haxx.se>2004-07-04 21:38:36 +0000
committerDaniel Stenberg <daniel@haxx.se>2004-07-04 21:38:36 +0000
commitb9f76f11bb7f3448a287a4907d3eee2964290964 (patch)
treecfec7868f0f1d626e7afb7c07a9177eab7cab1f2 /lib/ldap.c
parent17841a20e35b9406cb838b7bbcc1b4cf8e6b7c1f (diff)
typecast long => int conversion
Diffstat (limited to 'lib/ldap.c')
-rw-r--r--lib/ldap.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ldap.c b/lib/ldap.c
index 6ee2fce4e..44029503f 100644
--- a/lib/ldap.c
+++ b/lib/ldap.c
@@ -276,7 +276,7 @@ CURLcode Curl_ldap(struct connectdata *conn)
DYNA_GET_FUNCTION(void (*)(void *), ldap_memfree);
DYNA_GET_FUNCTION(void (*)(void *, int), ber_free);
- server = (*ldap_init)(conn->host.name, conn->port);
+ server = (*ldap_init)(conn->host.name, (int)conn->port);
if (server == NULL) {
failf(data, "LDAP local: Cannot connect to %s:%d",
conn->host.name, conn->port);