fix #12508, unaligned access on sparc64 (#13594)

This commit is contained in:
Miran
2020-03-09 14:08:50 +01:00
committed by GitHub
parent dc94c81cb0
commit 4aecc6b346

View File

@@ -162,7 +162,7 @@ proc murmurHash(x: openArray[byte]): Hash =
# body
while i < n * stepSize:
var k1: uint32
when defined(js):
when defined(js) or defined(sparc) or defined(sparc64):
var j = stepSize
while j > 0:
dec j