From: wessels <> Date: Thu, 24 Oct 1996 11:23:28 +0000 (+0000) Subject: compiler warning X-Git-Tag: SQUID_3_0_PRE1~5609 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d56d7f576b77ef616cbd0a6b438eb11ec6bfc3bf;p=thirdparty%2Fsquid.git compiler warning --- diff --git a/src/pinger.cc b/src/pinger.cc index 7fe7c247ed..96f7796b0c 100644 --- a/src/pinger.cc +++ b/src/pinger.cc @@ -1,6 +1,6 @@ /* - * $Id: pinger.cc,v 1.10 1996/10/24 05:13:18 wessels Exp $ + * $Id: pinger.cc,v 1.11 1996/10/24 05:23:28 wessels Exp $ * * DEBUG: section 37 ICMP Routines * AUTHOR: Duane Wessels @@ -306,7 +306,7 @@ static void pingerSendtoSquid(pingerReplyData * preply) { int len = sizeof(pingerReplyData) - 8192 + preply->psize; - if (send(1, preply, len, 0) < 0) { + if (send(1, (char *) preply, len, 0) < 0) { debug(37, 0, "pinger: send: %s\n", xstrerror()); exit(1); } @@ -356,7 +356,7 @@ main(int argc, char *argv[]) if (FD_ISSET(icmp_sock, &R)) pingerRecv(); if (10 + last_check_time < squid_curtime) { - if (send(1, &tv, 0, 0) < 0) + if (send(1, (char *) &tv, 0, 0) < 0) return 1; last_check_time = squid_curtime; }