From: Hallvard Furuseth Date: Sat, 18 Oct 2008 20:25:57 +0000 (+0000) Subject: Warning cleanup to ITS#5695/rev 1.453: signed meets unsigned. X-Git-Tag: ACLCHECK_0~1223 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=db2172c5c9609c9e6b94a8b3e78479f11d4d77e9;p=openldap Warning cleanup to ITS#5695/rev 1.453: signed meets unsigned. --- diff --git a/servers/slapd/schema_init.c b/servers/slapd/schema_init.c index ca508cfdfe..8e0dac28f6 100644 --- a/servers/slapd/schema_init.c +++ b/servers/slapd/schema_init.c @@ -4363,8 +4363,8 @@ serialNumberAndIssuerSerialCheck( ber_dupbv_x( &ni, is, ctx ); } else { - ber_int_t src, dst; - + ber_len_t src, dst; + ni.bv_len = is->bv_len - numdquotes; ni.bv_val = ber_memalloc_x( ni.bv_len + 1, ctx ); for ( src = 0, dst = 0; src < is->bv_len; src++, dst++ ) {