From: Daniel Stenberg Date: Sun, 4 Jul 2004 21:38:36 +0000 (+0000) Subject: typecast long => int conversion X-Git-Tag: curl-7_12_1~127 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b9f76f11bb7f3448a287a4907d3eee2964290964;p=curl typecast long => int conversion --- 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);