From: adrian <> Date: Mon, 21 Oct 2002 20:48:15 +0000 (+0000) Subject: Change some types. Damn C++. X-Git-Tag: SQUID_3_0_PRE1~599 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0ce8005dae285024c52d7bee8cbfbf8750031511;p=thirdparty%2Fsquid.git Change some types. Damn C++. --- diff --git a/src/comm.cc b/src/comm.cc index 75cfcb7c06..eac1ce369f 100644 --- a/src/comm.cc +++ b/src/comm.cc @@ -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); diff --git a/src/comm.h b/src/comm.h index ba765abf97..c8204dad37 100644 --- a/src/comm.h +++ b/src/comm.h @@ -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