aboutsummaryrefslogtreecommitdiff
path: root/lout
diff options
context:
space:
mode:
authorSebastian Geerken <devnull@localhost>2013-01-07 18:46:51 +0100
committerSebastian Geerken <devnull@localhost>2013-01-07 18:46:51 +0100
commitf4a7d5759a0910e30aa01d1baa40532081a687f8 (patch)
tree428d07b1ab3c362d34f120e53db0a21e8609f819 /lout
parent44a8af5732ee316dfccf2f6c10d0b17bb3f4a633 (diff)
Also fixed comment in Pointer::hashValue().
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.