From 259c1baf2342d0163daac2bb1dc78c31912d499c Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Mon, 23 Jul 2007 20:18:30 +0000 Subject: [PATCH] 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. --- servers/slapd/bconfig.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) 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 { -- 2.39.5