$NetBSD: patch-ad,v 1.2 2004/07/03 21:25:53 recht Exp $ --- src/Classes/Abstract/basic.hpp.orig 2004-06-30 11:19:43.000000000 +0200 +++ src/Classes/Abstract/basic.hpp 2004-07-03 22:55:03.000000000 +0200 @@ -83,7 +83,7 @@ inline double min (double i, double j) { if (ij) return i; else return j; } inline int hash (int i) { return i; } -inline int hash (pointer ptr) { return (int) ptr; } +inline int hash (pointer ptr) { return (int) ((char *) ptr - (char *) 0); } inline int copy (int x) { return x; } enum display_control { INDENT, UNINDENT, HRULE, LF };