summaryrefslogtreecommitdiff
path: root/lib/base/tracker.c
diff options
context:
space:
mode:
Diffstat (limited to 'lib/base/tracker.c')
-rw-r--r--lib/base/tracker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/base/tracker.c b/lib/base/tracker.c
index 95881f911..06e2baf2a 100644
--- a/lib/base/tracker.c
+++ b/lib/base/tracker.c
@@ -29,7 +29,7 @@ identity_hash
const void *key
)
{
- return (PLHashNumber)key;
+ return (PLHashNumber)((char *)key - (char *)NULL);
}
/*