From: robertc <> Date: Mon, 14 Oct 2002 14:26:30 +0000 (+0000) Subject: typecast needed for CBDATA_DEBUG X-Git-Tag: SQUID_3_0_PRE1~665 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=b58a3172f092fbb6ccb4e1d4700dc93f4319b105;p=thirdparty%2Fsquid.git typecast needed for CBDATA_DEBUG --- diff --git a/src/cbdata.cc b/src/cbdata.cc index cbc7b78ba7..7bd997a712 100644 --- a/src/cbdata.cc +++ b/src/cbdata.cc @@ -1,6 +1,6 @@ /* - * $Id: cbdata.cc,v 1.45 2002/10/13 20:34:59 robertc Exp $ + * $Id: cbdata.cc,v 1.46 2002/10/14 08:26:30 robertc Exp $ * * DEBUG: section 45 Callback Data Registry * ORIGINAL AUTHOR: Duane Wessels @@ -304,7 +304,7 @@ cbdataDump(StoreEntry * sentry) #if CBDATA_DEBUG storeAppendPrintf(sentry, "Pointer\tType\tLocks\tAllocated by\n"); for (n = cbdataEntries.head; n; n = n->next) { - p = n->data; + p = (cbdata *)n->data; storeAppendPrintf(sentry, "%c%p\t%d\t%d\t%20s:%-5d\n", p->valid ? ' ' : '!', &p->data, p->type, p->locks, p->file, p->line); } storeAppendPrintf(sentry, "\n");