svn commit: samba r16626 - in branches/SAMBA_3_0/source/printing: .

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


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

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

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

Modified:
   branches/SAMBA_3_0/source/printing/printing.c


Changeset:
Modified: branches/SAMBA_3_0/source/printing/printing.c
===================================================================
--- branches/SAMBA_3_0/source/printing/printing.c	2006-06-28 17:26:43 UTC (rev 16625)
+++ branches/SAMBA_3_0/source/printing/printing.c	2006-06-28 17:26:48 UTC (rev 16626)
@@ -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