Index: printing.c =================================================================== --- printing.c (revision 9303) +++ printing.c (working copy) @@ -234,7 +234,7 @@ 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; @@ -251,7 +251,7 @@ 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) ); } @@ -1291,7 +1291,7 @@ { fstring sharename; pstring lpqcommand; - int printing_type; + enum printing_types printing_type; size_t len; len = tdb_unpack( buf, msglen, "fdP",