summaryrefslogtreecommitdiff
path: root/source3/printing
diff options
context:
space:
mode:
authorGerald Carter <jerry@samba.org>2005-03-22 14:54:12 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:56:10 -0500
commit9b38ced168d4db50126c4259b31cb15e2ee2231b (patch)
tree153aa84d768f9f84d144d5a871c749fb96aec9d5 /source3/printing
parent40295c41dbba119f6b4e32647fb70f51ebf390a0 (diff)
downloadsamba-9b38ced168d4db50126c4259b31cb15e2ee2231b.tar.gz
samba-9b38ced168d4db50126c4259b31cb15e2ee2231b.tar.bz2
samba-9b38ced168d4db50126c4259b31cb15e2ee2231b.zip
r5950: more compiler warning's from Jason Mader
(This used to be commit 27c6e85ad59a86ab45ae3297c7445c4ff15546c8)
Diffstat (limited to 'source3/printing')
-rw-r--r--source3/printing/printing.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/printing/printing.c b/source3/printing/printing.c
index 26d4311770..7a68fa16be 100644
--- a/source3/printing/printing.c
+++ b/source3/printing/printing.c
@@ -235,7 +235,7 @@ void printing_end(void)
when asked for (and only when supported)
****************************************************************************/
-static struct printif *get_printer_fns_from_type( enum printing_types type )
+static struct printif *get_printer_fns_from_type( int type )
{
struct printif *printer_fns = &generic_printif;
@@ -1379,7 +1379,7 @@ static void print_queue_update(int snum, BOOL force)
size_t len = 0;
size_t newlen;
struct tdb_print_db *pdb;
- enum printing_types type;
+ int type;
struct printif *current_printif;
fstrcpy( sharename, lp_const_servicename(snum));