1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 15:48:49 -05:00

typecast long => int conversion

This commit is contained in:
Daniel Stenberg 2004-07-04 21:38:36 +00:00
parent 17841a20e3
commit b9f76f11bb

View File

@ -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);