]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
Change some types. Damn C++.
authoradrian <>
Mon, 21 Oct 2002 20:48:15 +0000 (20:48 +0000)
committeradrian <>
Mon, 21 Oct 2002 20:48:15 +0000 (20:48 +0000)
src/comm.cc
src/comm.h

index 75cfcb7c06d76d4043752f7adaea3f68fa95d4aa..eac1ce369f782e178270ba429d9c43870c539f9f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: comm.cc,v 1.346 2002/10/21 14:08:22 adrian Exp $
+ * $Id: comm.cc,v 1.347 2002/10/21 14:48:15 adrian Exp $
  *
  * DEBUG: section 5     Socket Functions
  * AUTHOR: Harvest Derived
@@ -665,7 +665,7 @@ comm_write_try(int fd, void *data)
  * completes, on error, or on file descriptor close.
  */
 void
-comm_write(int fd, char *buf, int size, IOWCB *handler, void *handler_data)
+comm_write(int fd, char *buf, size_t size, IOWCB *handler, void *handler_data)
 {
        /* Make sure we're not writing anything and we're not closing */
        assert(fdc_table[fd].active == 1);
index ba765abf9763ea2d3f47299f6405e7fe8ab0674e..c8204dad37eca8ad7db4af4bcec7928f5cbb45db 100644 (file)
@@ -17,6 +17,6 @@ extern int comm_udp_recvfrom(int fd, void *buf, size_t len, int flags,
 extern int comm_udp_recv(int fd, void *buf, size_t len, int flags);
 extern ssize_t comm_udp_send(int s, const void *buf, size_t len, int flags);
 
-extern void comm_write(int s, void *buf, size_t len, IOWCB *callback, void *callback_data);
+extern void comm_write(int s, char *buf, size_t len, IOWCB *callback, void *callback_data);
 
 #endif