diff options
-rw-r--r-- | source3/printing/printing.c | 4 |
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) ); } |