diff options
author | Daniel Stenberg <daniel@haxx.se> | 2004-07-04 21:38:36 +0000 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2004-07-04 21:38:36 +0000 |
commit | b9f76f11bb7f3448a287a4907d3eee2964290964 (patch) | |
tree | cfec7868f0f1d626e7afb7c07a9177eab7cab1f2 /lib | |
parent | 17841a20e35b9406cb838b7bbcc1b4cf8e6b7c1f (diff) |
typecast long => int conversion
Diffstat (limited to 'lib')
-rw-r--r-- | lib/ldap.c | 2 |
1 files changed, 1 insertions, 1 deletions
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); |