mirror of
https://git.openldap.org/openldap/openldap.git
synced 2025-12-24 00:29:35 -05:00
Warning cleanup: signed meets unsigned.
This commit is contained in:
parent
03a729673c
commit
182c2931c4
2 changed files with 3 additions and 3 deletions
|
|
@ -396,7 +396,7 @@ static int
|
|||
pblock_set_default( Slapi_PBlock *pb, int param, void *value )
|
||||
{
|
||||
slapi_pblock_class_t pbClass;
|
||||
size_t i;
|
||||
int i;
|
||||
|
||||
pbClass = pblock_get_param_class( param );
|
||||
if ( pbClass == PBLOCK_CLASS_INVALID ) {
|
||||
|
|
|
|||
|
|
@ -52,7 +52,7 @@ struct slapi_condvar {
|
|||
|
||||
static int checkBVString(const struct berval *bv)
|
||||
{
|
||||
int i;
|
||||
ber_len_t i;
|
||||
|
||||
for ( i = 0; i < bv->bv_len; i++ ) {
|
||||
if ( bv->bv_val[i] == '\0' )
|
||||
|
|
@ -3231,7 +3231,7 @@ LDAP *slapi_ldap_init( char *ldaphost, int ldapport, int secure, int shared )
|
|||
rc = snprintf( url, size, "ldap%s://%s/", ( secure ? "s" : "" ), ldaphost );
|
||||
}
|
||||
|
||||
if ( rc > 0 && rc < size ) {
|
||||
if ( rc > 0 && (size_t) rc < size ) {
|
||||
rc = ldap_initialize( &ld, url );
|
||||
} else {
|
||||
ld = NULL;
|
||||
|
|
|
|||
Loading…
Reference in a new issue