From b9f76f11bb7f3448a287a4907d3eee2964290964 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Sun, 4 Jul 2004 21:38:36 +0000 Subject: typecast long => int conversion --- lib/ldap.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'lib/ldap.c') 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); -- cgit v1.2.3