mirror of
https://github.com/moparisthebest/curl
synced 2024-12-22 08:08:50 -05:00
typecast long => int conversion
This commit is contained in:
parent
17841a20e3
commit
b9f76f11bb
@ -276,7 +276,7 @@ CURLcode Curl_ldap(struct connectdata *conn)
|
|||||||
DYNA_GET_FUNCTION(void (*)(void *), ldap_memfree);
|
DYNA_GET_FUNCTION(void (*)(void *), ldap_memfree);
|
||||||
DYNA_GET_FUNCTION(void (*)(void *, int), ber_free);
|
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) {
|
if (server == NULL) {
|
||||||
failf(data, "LDAP local: Cannot connect to %s:%d",
|
failf(data, "LDAP local: Cannot connect to %s:%d",
|
||||||
conn->host.name, conn->port);
|
conn->host.name, conn->port);
|
||||||
|
Loading…
Reference in New Issue
Block a user