]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
convert an old-style cast to a C++ static cast
authorwessels <>
Thu, 5 Jan 2006 01:00:18 +0000 (01:00 +0000)
committerwessels <>
Thu, 5 Jan 2006 01:00:18 +0000 (01:00 +0000)
src/http.cc

index 394362b9b48f784acf8b3abec5f1d21aac06f487..6e0748c714e88235c2a1eb35628e57f9af060227 100644 (file)
@@ -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<HttpStateData *>(data);
     httpState->requestBodyHandler(buf, size);
 }