]> git.sur5r.net Git - openldap/blobdiff - libraries/libldap/url.c
ITS#1732 signed/unsigned fixes
[openldap] / libraries / libldap / url.c
index 42a595aee5f5c884effe91c542a07321ca03aea2..97059170b7d214db18b30fe4d1e417de65933ef9 100644 (file)
@@ -891,7 +891,7 @@ ldap_url_parselist (LDAPURLDesc **ludlist, const char *url )
        if (url == NULL)
                return LDAP_PARAM_ERROR;
 
-       urls = ldap_str2charray((char *)url, ", ");
+       urls = ldap_str2charray(url, ", ");
        if (urls == NULL)
                return LDAP_NO_MEMORY;
 
@@ -928,7 +928,7 @@ ldap_url_parsehosts(
        if (hosts == NULL)
                return LDAP_PARAM_ERROR;
 
-       specs = ldap_str2charray((char *)hosts, ", ");
+       specs = ldap_str2charray(hosts, ", ");
        if (specs == NULL)
                return LDAP_NO_MEMORY;