typecast long => int conversion

This commit is contained in:
Daniel Stenberg 2004-07-04 21:38:36 +00:00
parent 17841a20e3
commit b9f76f11bb
1 changed files with 1 additions and 1 deletions

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