]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
typecast needed for CBDATA_DEBUG
authorrobertc <>
Mon, 14 Oct 2002 14:26:30 +0000 (14:26 +0000)
committerrobertc <>
Mon, 14 Oct 2002 14:26:30 +0000 (14:26 +0000)
src/cbdata.cc

index cbc7b78ba78cd4b6ad3e6d1dcd04eab1b6615812..7bd997a71276ed71bf855c6d82b977a34323f75e 100644 (file)
@@ -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");