noop change: Silence signed vs unsigned warnings

This commit is contained in:
Hallvard Furuseth 2011-01-12 14:44:03 +00:00
parent 6223282235
commit 1ecaeb3b18
2 changed files with 3 additions and 2 deletions

View File

@ -1054,7 +1054,7 @@ backend_check_restrictions(
requires |= op->o_bd->be_requires;
bssf = &op->o_bd->be_ssf_set.sss_ssf;
fssf = &ssfs.sss_ssf;
for ( i=0; i<sizeof(ssfs)/sizeof(slap_ssf_t); i++ ) {
for ( i=0; i < (int)(sizeof(ssfs)/sizeof(slap_ssf_t)); i++ ) {
if ( bssf[i] ) fssf[i] = bssf[i];
}
}

View File

@ -1821,7 +1821,8 @@ syncprov_op_response( Operation *op, SlapReply *rs )
* that changed, and only one can be passed in the csn queue.
*/
Modifications *mod = op->orm_modlist;
int i, j, sid;
unsigned i;
int j, sid;
for ( i=0; i<mod->sml_numvals; i++ ) {
sid = slap_parse_csn_sid( &mod->sml_values[i] );