mirror of
https://github.com/vlang/v.git
synced 2023-08-10 21:13:21 +03:00
all: C++ compiler support
This commit is contained in:
@@ -40,7 +40,7 @@ pub fn sum64_string(key string, seed u64) u64 {
|
||||
|
||||
[inline]
|
||||
pub fn sum64(key []byte, seed u64) u64 {
|
||||
return wyhash64(key.data, u64(key.len), seed)
|
||||
return wyhash64(byteptr(key.data), u64(key.len), seed)
|
||||
}
|
||||
|
||||
[inline]
|
||||
|
Reference in New Issue
Block a user