]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
warning: comparison of distinct pointer types lacks a cast
authorwessels <>
Tue, 15 Jul 1997 05:48:29 +0000 (05:48 +0000)
committerwessels <>
Tue, 15 Jul 1997 05:48:29 +0000 (05:48 +0000)
src/ipcache.cc

index 46bf864daceafed4af5171cfad7d626f4f9f80a6..e400a5931cff008a9fcca3cdb6437aa49af83d81 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: ipcache.cc,v 1.126 1997/07/14 22:32:03 wessels Exp $
+ * $Id: ipcache.cc,v 1.127 1997/07/14 23:48:29 wessels Exp $
  *
  * DEBUG: section 14    IP Cache
  * AUTHOR: Harvest Derived
@@ -1092,7 +1092,7 @@ ipcacheChangeKey(ipcache_entry * i)
        debug(14, 0) ("ipcacheChangeKey: Could not find key '%s'\n", i->name);
        return;
     }
-    assert(i == table_entry);
+    assert(i == (ipcache_entry *) table_entry);
     if (hash_remove_link(ip_table, table_entry)) {
        debug_trap("ipcacheChangeKey: hash_remove_link() failed\n");
        return;