From: wessels <> Date: Thu, 5 Jan 2006 01:00:18 +0000 (+0000) Subject: convert an old-style cast to a C++ static cast X-Git-Tag: SQUID_3_0_PRE4~387 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=9ed57c61e35cae9eef65312bf354c28619e26def;p=thirdparty%2Fsquid.git convert an old-style cast to a C++ static cast --- diff --git a/src/http.cc b/src/http.cc index 394362b9b4..6e0748c714 100644 --- a/src/http.cc +++ b/src/http.cc @@ -1,6 +1,6 @@ /* - * $Id: http.cc,v 1.479 2006/01/04 17:54:22 wessels Exp $ + * $Id: http.cc,v 1.480 2006/01/04 18:00:18 wessels Exp $ * * DEBUG: section 11 Hypertext Transfer Protocol (HTTP) * AUTHOR: Harvest Derived @@ -1911,7 +1911,7 @@ HttpStateData::sendRequestEntityDone(int fd) void HttpStateData::RequestBodyHandlerWrapper(char *buf, ssize_t size, void *data) { - HttpStateData *httpState = (HttpStateData *) data; + HttpStateData *httpState = static_cast(data); httpState->requestBodyHandler(buf, size); }