summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/printing/printing.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index d06b34454a..9dd6bec0be 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -1370,7 +1370,7 @@ static void print_queue_receive(int msg_type, struct process_id src,
}
print_queue_update_with_lock(sharename,
- get_printer_fns_from_type(printing_type),
+ get_printer_fns_from_type((enum printing_types)printing_type),
lpqcommand, lprmcommand );
return;