diff options
| author | 2023-06-18 18:23:13 +0200 | |
|---|---|---|
| committer | 2023-06-18 18:23:13 +0200 | |
| commit | 3990f0f2731c2289eaefefc9aff5bdcaee6c3289 (patch) | |
| tree | 7d97c52dc8018cd07daea062f22f31fa5898a1f1 /common.h | |
| parent | 97621f5870d60722ae2bc13682c58d194bc20794 (diff) | |
fix memory bugs
Diffstat (limited to 'common.h')
| -rw-r--r-- | common.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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) { |