mirror of
https://git.openldap.org/openldap/openldap.git
synced 2026-02-03 20:40:05 -05:00
ITS#5578 signed/unsigned comparison
This commit is contained in:
parent
4b9aa1f2b7
commit
bfdb93f80b
1 changed files with 1 additions and 1 deletions
|
|
@ -404,7 +404,7 @@ attr_valadd(
|
|||
rc = LDAP_TYPE_OR_VALUE_EXISTS;
|
||||
return rc;
|
||||
}
|
||||
for ( j = a->a_numvals; j >= slot; j-- ) {
|
||||
for ( j = a->a_numvals; j >= (int)slot; j-- ) {
|
||||
a->a_vals[j+1] = a->a_vals[j];
|
||||
if ( nvals )
|
||||
a->a_nvals[j+1] = a->a_nvals[j];
|
||||
|
|
|
|||
Loading…
Reference in a new issue