From: serassio <> Date: Thu, 3 Nov 2005 05:19:22 +0000 (+0000) Subject: An ugly workaround to allow the build on 64 bit platform. X-Git-Tag: SQUID_3_0_PRE4~556 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=672a3130e8c8854e3dd2fd669137bd0b106f668b;p=thirdparty%2Fsquid.git An ugly workaround to allow the build on 64 bit platform. Any better solution is welcome ... :-) --- diff --git a/src/mem_node.cc b/src/mem_node.cc index 47baf4fe5f..d0dc18d02d 100644 --- a/src/mem_node.cc +++ b/src/mem_node.cc @@ -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)); } /*