]> arthur.barton.de Git - netatalk.git/commitdiff
remove signed/unsigned gcc warning
authordidg <didg>
Wed, 21 Jan 2009 02:43:46 +0000 (02:43 +0000)
committerdidg <didg>
Wed, 21 Jan 2009 02:43:46 +0000 (02:43 +0000)
etc/papd/lp.c

index e1eae75b044de1bc63db80a1ca3ddc71ea352fd4..c6572cc9dbd0513354a738b5eb2d454f15b594a2 100644 (file)
@@ -1,5 +1,5 @@
 /*
- * $Id: lp.c,v 1.20 2009-01-16 18:21:16 morgana Exp $
+ * $Id: lp.c,v 1.21 2009-01-21 02:43:46 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) );