From: didg Date: Wed, 21 Jan 2009 02:33:55 +0000 (+0000) Subject: remove signed/unsigned gcc warning X-Git-Tag: netatalk-2-0-4-rc1~22 X-Git-Url: https://arthur.barton.de/gitweb/?p=netatalk.git;a=commitdiff_plain;h=9c9d1ac3eb8529be84d1fc53b1fab07bbce00d58 remove signed/unsigned gcc warning --- diff --git a/etc/papd/lp.c b/etc/papd/lp.c index fca724e7..613993fa 100644 --- a/etc/papd/lp.c +++ b/etc/papd/lp.c @@ -1,5 +1,5 @@ /* - * $Id: lp.c,v 1.14.8.4.2.5 2009-01-19 02:25:57 didg Exp $ + * $Id: lp.c,v 1.14.8.4.2.6 2009-01-21 02:33:55 didg Exp $ * * Copyright (c) 1990,1994 Regents of The University of Michigan. * All Rights Reserved. See COPYRIGHT. @@ -1003,7 +1003,9 @@ int lp_queue( out ) char buf[ 1024 ], *start, *stop, *p, *q; int linelength, crlflength; static struct papfile pf; - int n, len, s; + int s; + size_t len; + ssize_t n; if (( s = lp_conn_unix()) < 0 ) { LOG(log_error, logtype_papd, "lp_queue: %s", strerror(errno) );