From 1ebe7a6eaf916fb286f3883795b8ddc50983b43f Mon Sep 17 00:00:00 2001 From: Hallvard Furuseth Date: Fri, 23 Oct 2009 12:20:31 +0000 Subject: [PATCH] more ITS#6324: fix fprintf(%u, long) format --- servers/slapd/bconfig.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 " -- 2.39.5