diff options
Diffstat (limited to 'lout/object.cc')
-rw-r--r-- | lout/object.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lout/object.cc b/lout/object.cc index a081f023..843c0ae4 100644 --- a/lout/object.cc +++ b/lout/object.cc @@ -121,7 +121,7 @@ int Pointer::hashValue() * if (sizeof (int) == sizeof (void*)) * return (int)value; * else - * return ((int*)value)[0] ^ ((int*)value)[1]; + * return ((int*)&value)[0] ^ ((int*)&value)[1]; */ #if SIZEOF_VOID_P == 4 // Assuming that sizeof(void*) == sizeof(int); on 32 bit systems. |