summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2006-06-28 17:26:48 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:19:04 -0500
commit57ba729facf9fe83c15d4490ff62020f5c429c0f (patch)
tree4a068a30fc854ee4f41ddfb3c8e57f5114d5e678 /source3
parent5887885da3c98d7b72a6c6f876a0d352fe3efcde (diff)
downloadsamba-57ba729facf9fe83c15d4490ff62020f5c429c0f.tar.gz
samba-57ba729facf9fe83c15d4490ff62020f5c429c0f.tar.bz2
samba-57ba729facf9fe83c15d4490ff62020f5c429c0f.zip
r16626: Fix bug #3878. Reported by jason@ncac.gwu.edu.
Jeremy. (This used to be commit 4c3019eb99d0a18a33ef1fa90d01b9c99c0b25c3)
Diffstat (limited to 'source3')
-rw-r--r--source3/printing/printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index fed9c005d0..d06b34454a 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -234,7 +234,7 @@ void printing_end(void)
when asked for (and only when supported)
****************************************************************************/
-static struct printif *get_printer_fns_from_type( int type )
+static struct printif *get_printer_fns_from_type( enum printing_types type )
{
struct printif *printer_fns = &generic_printif;
@@ -257,7 +257,7 @@ static struct printif *get_printer_fns_from_type( int type )
static struct printif *get_printer_fns( int snum )
{
- return get_printer_fns_from_type( lp_printing(snum) );
+ return get_printer_fns_from_type( (enum printing_types)lp_printing(snum) );
}