use unsafeAddr

This commit is contained in:
narimiran
2023-08-11 12:35:56 +02:00
parent bd4609f20e
commit 80ece5921f

View File

@@ -330,7 +330,7 @@ proc murmurHash(x: openArray[byte]): Hash =
impl()
else:
when declared(copyMem):
copyMem(addr k1, addr x[i], 4)
copyMem(unsafeAddr k1, unsafeAddr x[i], 4)
else:
impl()
inc i, stepSize