]> git.sur5r.net Git - openldap/commitdiff
more ITS#6324: fix fprintf(%u, long) format
authorHallvard Furuseth <hallvard@openldap.org>
Fri, 23 Oct 2009 12:20:31 +0000 (12:20 +0000)
committerHallvard Furuseth <hallvard@openldap.org>
Fri, 23 Oct 2009 12:20:31 +0000 (12:20 +0000)
servers/slapd/bconfig.c

index 93247bc4cc1364d98442bbd0cdbb6788145698d3..191a497ae40406fc5e95cd7fd6d27561fd1def7b 100644 (file)
@@ -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 "