summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim Potter <tpot@samba.org>2003-05-27 07:28:42 +0000
committerTim Potter <tpot@samba.org>2003-05-27 07:28:42 +0000
commit793ea7a428bdada47b70a8fae9f80bd92b96d56f (patch)
tree51297800efe2f1802a103ea14ce407643d176798
parentbdef2e8eb889d059d855a647eb8fb6648438ba1f (diff)
downloadsamba-793ea7a428bdada47b70a8fae9f80bd92b96d56f.tar.gz
samba-793ea7a428bdada47b70a8fae9f80bd92b96d56f.tar.bz2
samba-793ea7a428bdada47b70a8fae9f80bd92b96d56f.zip
Squash another compiler warning.
(This used to be commit 8bfcbd53848e34b90099f5167b570165c3f6bf62)
-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 a486fb9c00..2b4b7dab6b 100644
--- a/source3/printing/nt_printing.c
+++ b/source3/printing/nt_printing.c
@@ -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));