summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-05-27 07:29:13 +0000
committerTim Potter <tpot@samba.org>2003-05-27 07:29:13 +0000
commitadd20d8f8fad73ca81a2830c3a5cc5095d72ec0d (patch)
tree8f8e06a16f678b258c1a1e933ceed6b5c043866c
parent797add4a73e4f46a7560bda7e6e4eac79024c1e2 (diff)
downloadsamba-add20d8f8fad73ca81a2830c3a5cc5095d72ec0d.tar.gz
samba-add20d8f8fad73ca81a2830c3a5cc5095d72ec0d.tar.bz2
samba-add20d8f8fad73ca81a2830c3a5cc5095d72ec0d.zip
Squash another compiler warning.
(This used to be commit 8b208834354db39797e45fd041c408c7ab6eb314)
-rw-r--r--source3/printing/nt_printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/nt_printing.c b/source3/printing/nt_printing.c
index 389628fd86..f6c5c183a4 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -2465,9 +2465,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));