summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/std/hashfuncs.myr5
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/std/hashfuncs.myr b/lib/std/hashfuncs.myr
index eca00c9..da47215 100644
--- a/lib/std/hashfuncs.myr
+++ b/lib/std/hashfuncs.myr
@@ -78,10 +78,7 @@ const streq = {a, b
}
generic ptrhash = {p : @a#
- var x
-
- x = (&p : byte#)
- -> siphash24(x[0:sizeof(@a#)], Seed)
+ -> inthash((p : intptr))
}
generic ptreq = {a, b