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

This commit is contained in:
Miran 2020-03-09 14:08:50 +01:00 • committed by GitHub
commit 4aecc6b346
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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