]> git.sur5r.net Git - openldap/commitdiff
Remove lint.
authorKurt Zeilenga <kurt@openldap.org>
Mon, 7 Jan 2002 21:48:17 +0000 (21:48 +0000)
committerKurt Zeilenga <kurt@openldap.org>
Mon, 7 Jan 2002 21:48:17 +0000 (21:48 +0000)
libraries/liblber/decode.c

index 7cfa5fbb9526c59a1da6e437f77dcfbfea1434fe..ff1f6edaddfa194507fd4a1ae72d353dc2f7517c 100644 (file)
@@ -422,7 +422,7 @@ ber_get_stringbv( BerElement *ber, struct berval *bv, int alloc )
                return LBER_DEFAULT;
        }
 
-       if ( ber_pvt_ber_remaining( ber ) < bv->bv_len ) {
+       if ( (ber_len_t) ber_pvt_ber_remaining( ber ) < bv->bv_len ) {
                return LBER_DEFAULT;
        }