From: Hallvard Furuseth Date: Fri, 23 Oct 2009 12:20:31 +0000 (+0000) Subject: more ITS#6324: fix fprintf(%u, long) format X-Git-Tag: ACLCHECK_0~173 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=1ebe7a6eaf916fb286f3883795b8ddc50983b43f;p=openldap more ITS#6324: fix fprintf(%u, long) format --- diff --git a/servers/slapd/bconfig.c b/servers/slapd/bconfig.c index 93247bc4cc..191a497ae4 100644 --- a/servers/slapd/bconfig.c +++ b/servers/slapd/bconfig.c @@ -3206,8 +3206,8 @@ loglevel_print( FILE *out ) for ( i = 0; !BER_BVISNULL( &loglevel_ops[ i ].word ); i++ ) { fprintf( out, "\t%-30s (%u, 0x%x)\n", loglevel_ops[ i ].word.bv_val, - loglevel_ops[ i ].mask, - loglevel_ops[ i ].mask ); + (unsigned) loglevel_ops[ i ].mask, + (unsigned) loglevel_ops[ i ].mask ); } fprintf( out, "\nNOTE: custom log subsystems may be later installed "