From: Hallvard Furuseth Date: Mon, 23 Jul 2007 20:18:30 +0000 (+0000) Subject: Revert integer type change from rev 1.281 (ITS#5035) for now. It just X-Git-Tag: OPENLDAP_REL_ENG_2_4_MP~298 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=259c1baf2342d0163daac2bb1dc78c31912d499c;p=openldap Revert integer type change from rev 1.281 (ITS#5035) for now. It just replaced one inttype bug with another, the proper fix is to change the API. --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index a7d81d17c7..29b8ed3f57 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -2446,8 +2446,7 @@ int slap_loglevel_get( struct berval *s, int *l ) { int rc; - unsigned i; - slap_mask_t m; + slap_mask_t m, i; if ( loglevel_ops == NULL ) { loglevel_init(); @@ -2467,7 +2466,7 @@ slap_loglevel_get( struct berval *s, int *l ) rc = slap_verbmasks_append( &loglevel_ops, i, s, loglevel_ignore ); if ( rc != 0 ) { - Debug( LDAP_DEBUG_ANY, "slap_loglevel_get(%u, \"%s\") failed\n", + Debug( LDAP_DEBUG_ANY, "slap_loglevel_get(%lu, \"%s\") failed\n", i, s->bv_val, 0 ); } else {