svn commit: samba r16625 - in trunk/source/printing: .

jra at samba.org jra at samba.org
Wed Jun 28 17:26:43 GMT 2006


Author: jra
Date: 2006-06-28 17:26:43 +0000 (Wed, 28 Jun 2006)
New Revision: 16625

WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=16625

Log:
Fix bug #3878. Reported by jason at ncac.gwu.edu.
Jeremy.

Modified:
   trunk/source/printing/printing.c


Changeset:
Modified: trunk/source/printing/printing.c
===================================================================
--- trunk/source/printing/printing.c	2006-06-28 17:11:06 UTC (rev 16624)
+++ trunk/source/printing/printing.c	2006-06-28 17:26:43 UTC (rev 16625)
@@ -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;
 
@@ -257,7 +257,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) );
 }
 
 



More information about the samba-cvs mailing list