rc = 1;
goto done;
- } else if ( (unsigned long)rc == ARG_BAD_CONF ) {
+ } else if ( rc == ARG_BAD_CONF ) {
rc = 1;
goto done;
}
slap_verbmasks *aux = (slap_verbmasks *)tab->aux;
for ( i = 0; !BER_BVISNULL( &aux[i].word ); i++ ) {
- if ( (slap_mask_t)*iptr == aux[i].mask ) {
+ if ( *iptr == aux[i].mask ) {
*ptr++ = ' ';
ptr = lutil_strcopy( ptr, tab->key.bv_val );
ptr = lutil_strcopy( ptr, aux[i].word.bv_val );
}
ldap_pvt_tls_get_option( ld, opt, &ival );
for (i=0; !BER_BVISNULL(&keys[i].word); i++) {
- if (keys[i].mask == (slap_mask_t)ival) {
+ if (keys[i].mask == ival) {
*val = ch_strdup( keys[i].word.bv_val );
return 0;
}