1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: make the compiler stricter when checking pointers

This commit is contained in:
Delyan Angelov
2021-04-05 10:02:47 +03:00
parent d82a0c1637
commit 4cde74f120
8 changed files with 38 additions and 25 deletions

View File

@@ -7,7 +7,7 @@ fn C.wyhash64(u64, u64) u64
[inline]
pub fn wyhash_c(key byteptr, len u64, seed u64) u64 {
return C.wyhash(key, len, seed, C._wyp)
return C.wyhash(key, len, seed, &u64(C._wyp))
}
[inline]