Squash another compiler warning.
authorTim Potter <tpot@samba.org>
Tue, 27 May 2003 07:28:42 +0000 (07:28 +0000)
committerTim Potter <tpot@samba.org>
Tue, 27 May 2003 07:28:42 +0000 (07:28 +0000)
source/printing/nt_printing.c

index a486fb9c003f58a763ffe8137311645a196d60c1..2b4b7dab6ba35535ae05b90c81607361d63e3bb6 100644 (file)
@@ -2469,9 +2469,9 @@ static void map_dword_into_ctr(REGVAL_CTR *ctr, const char *val_name,
 }
 
 static void map_bool_into_ctr(REGVAL_CTR *ctr, const char *val_name,
-                             BOOL bool)
+                             BOOL b)
 {
-       uint8 bin_bool = (bool ? 1 : 0);
+       uint8 bin_bool = (b ? 1 : 0);
        regval_ctr_delvalue(ctr, val_name);
        regval_ctr_addvalue(ctr, val_name, REG_BINARY, 
                            (char *) &bin_bool, sizeof(bin_bool));