mirror of
https://github.com/curl/curl.git
synced 2026-05-30 12:47:29 +03:00
typecast long => int conversion
This commit is contained in:
parent
17841a20e3
commit
b9f76f11bb
1 changed files with 1 additions and 1 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue