aboutsummaryrefslogtreecommitdiffhomepage
path: root/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'common.h')
-rw-r--r--common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common.h b/common.h
index 3d051af..05d6ddd 100644
--- a/common.h
+++ b/common.h
@@ -54,7 +54,7 @@ hashb(uint h, const void *d, uint n)
}
static inline uint
ptrhash(const void *p) {
- return (uint)(size_t)p * 2654435761;
+ return (uint)(size_t)p * 2654435761u;
}
static inline uint
popcnt(uvlong x) {