r16648: Fix bug #3889 reported by jason@ncac.gwu.edu.
authorJeremy Allison <jra@samba.org>
Wed, 28 Jun 2006 21:35:46 +0000 (21:35 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 16:19:06 +0000 (11:19 -0500)
Jeremy.
(This used to be commit 2eefe9b6f52e64927c0ae23adce111a42d821206)

source3/printing/printing.c

index d06b34454a419469e38c14ed9bc79d78ae755b9e..9dd6bec0be447cfdc9f34b188e5e19dc9ee7f21a 100644 (file)
@@ -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;