Skip to content

Commit

Permalink
use unsafeAddr
Browse files Browse the repository at this point in the history
  • Loading branch information
narimiran committed Aug 11, 2023
1 parent bd4609f commit 80ece59
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pure/hashes.nim
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 80ece59

Please sign in to comment.