From 57ba729facf9fe83c15d4490ff62020f5c429c0f Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Wed, 28 Jun 2006 17:26:48 +0000 Subject: r16626: Fix bug #3878. Reported by jason@ncac.gwu.edu. Jeremy. (This used to be commit 4c3019eb99d0a18a33ef1fa90d01b9c99c0b25c3) --- source3/printing/printing.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/printing') 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) ); } -- cgit