]> arthur.barton.de Git - netatalk.git/blobdiff - libatalk/asp/asp_write.c
Fix incompatible func args warnings
[netatalk.git] / libatalk / asp / asp_write.c
index 2c5aea39d59425920ee6131e4e5c09eab68c3b99..2819e3152db6a357f5611e7463e4a7266971fa5c 100644 (file)
@@ -1,4 +1,6 @@
 /*
+ * $Id: asp_write.c,v 1.4 2009-10-22 12:35:39 franklahm Exp $
+ *
  * Copyright (c) 1990,1991 Regents of The University of Michigan.
  * All Rights Reserved.
  *
@@ -23,7 +25,7 @@
 
 #ifdef HAVE_CONFIG_H
 #include "config.h"
-#endif
+#endif /* HAVE_CONFIG_H */
 
 #include <string.h>
 #include <sys/types.h>
@@ -35,9 +37,9 @@
 
 #if defined(BSD) || defined(BSD4_3)
 #define memmove(a, b, n)   bcopy((b), (a), (n))
-#endif
+#endif /* BSD || BSD4_3 */
 
-int asp_wrtcont(ASP asp, char *buf, int *buflen)
+int asp_wrtcont(ASP asp, char *buf, size_t *buflen)
 {
     struct iovec       iov[ ASP_MAXPACKETS ];
     struct atp_block   atpb;