From: adrian <> Date: Fri, 25 Oct 2002 07:00:42 +0000 (+0000) Subject: Explicit type conversation, ta C++. X-Git-Tag: SQUID_3_0_PRE1~570 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=18f2f920e53d327e3a4a1db463cc96202c63fd58;p=thirdparty%2Fsquid.git Explicit type conversation, ta C++. (This was caught with xmalloc-stats no) --- diff --git a/src/stat.cc b/src/stat.cc index 1963c8afe2..8280135483 100644 --- a/src/stat.cc +++ b/src/stat.cc @@ -1,6 +1,6 @@ /* - * $Id: stat.cc,v 1.362 2002/10/15 08:03:30 robertc Exp $ + * $Id: stat.cc,v 1.363 2002/10/25 01:00:42 adrian Exp $ * * DEBUG: section 18 Cache Manager Statistics * AUTHOR: Harvest Derived @@ -375,7 +375,7 @@ statOpenfdObj(StoreEntry * sentry) static void info_get_mallstat(int size, int number, int oldnum, void *data) { - StoreEntry *sentry = data; + StoreEntry *sentry = (StoreEntry *)data; if (number > 0) storeAppendPrintf(sentry, "%d\t %d\t %d\t %.1f\n", size, number, number - oldnum, xdiv((number - oldnum), xm_deltat)); }