]> git.ipfire.org Git - thirdparty/squid.git/commitdiff
An ugly workaround to allow the build on 64 bit platform.
authorserassio <>
Thu, 3 Nov 2005 05:19:22 +0000 (05:19 +0000)
committerserassio <>
Thu, 3 Nov 2005 05:19:22 +0000 (05:19 +0000)
Any better solution is welcome ... :-)

src/mem_node.cc

index 47baf4fe5f559d8d9665c905910a0edf89fc7841..d0dc18d02d07afdaaba077aeb0808b912bf1516f 100644 (file)
@@ -1,6 +1,6 @@
 
 /*
- * $Id: mem_node.cc,v 1.7 2005/09/14 18:23:21 wessels Exp $
+ * $Id: mem_node.cc,v 1.8 2005/11/02 22:19:22 serassio Exp $
  *
  * DEBUG: section 19    Store Memory Primitives
  * AUTHOR: Robert Collins
@@ -49,7 +49,7 @@ static int
 makeMemNodeDataOffset()
 {
     mem_node *p = 0L;
-    return int(&p->data);
+    return int(ptrdiff_t(&p->data));
 }
 
 /*