X-Git-Url: https://git.sur5r.net/?a=blobdiff_plain;f=libraries%2Flibldap%2Fdsparse.c;h=2d7a7e02191464b0a00f69e9f01c76f88f56cb72;hb=64d5725662d33a168055df6db2ea06c366a1d0f1;hp=19446e0ee4f0ac059654dc525f3bfd08995b7dba;hpb=21c70857f1029309d6bc5a5b6a93d7537494b742;p=openldap diff --git a/libraries/libldap/dsparse.c b/libraries/libldap/dsparse.c index 19446e0ee4..2d7a7e0219 100644 --- a/libraries/libldap/dsparse.c +++ b/libraries/libldap/dsparse.c @@ -34,13 +34,13 @@ #include "ldap-int.h" -static int next_line LDAP_P(( char **bufp, long *blenp, char **linep )); +static int next_line LDAP_P(( char **bufp, ber_len_t *blenp, char **linep )); static char *next_token LDAP_P(( char ** sp )); int -next_line_tokens( char **bufp, long *blenp, char ***toksp ) +next_line_tokens( char **bufp, ber_len_t *blenp, char ***toksp ) { char *p, *line, *token, **toks; int rc, tokcnt; @@ -90,10 +90,10 @@ next_line_tokens( char **bufp, long *blenp, char ***toksp ) static int -next_line( char **bufp, long *blenp, char **linep ) +next_line( char **bufp, ber_len_t *blenp, char **linep ) { char *linestart, *line, *p; - long plen; + ber_slen_t plen; linestart = *bufp; p = *bufp;