]> git.sur5r.net Git - openldap/commitdiff
ber_scanf() returns unsigned long, not int
authorHallvard Furuseth <hallvard@openldap.org>
Sun, 8 Nov 1998 02:56:47 +0000 (02:56 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Sun, 8 Nov 1998 02:56:47 +0000 (02:56 +0000)
servers/slapd/bind.c

index 5c1e264636f7a442ea7448ef4d62e2194de5d10c..8d3979992c57bca3e662fffebbc0c3de67f42878 100644 (file)
@@ -33,7 +33,8 @@ do_bind(
 )
 {
        BerElement      *ber = op->o_ber;
-       int             version, method, len, rc;
+       int             version, method, len;
+       unsigned long   rc;
        char            *dn;
        struct berval   cred;
        Backend         *be;