aboutsummaryrefslogtreecommitdiff
path: root/lout
diff options
context:
space:
mode:
Diffstat (limited to 'lout')
-rw-r--r--lout/object.cc2
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.