Skip to content

Commit

Permalink
fix nim-lang#12508, unaligned access on sparc64
Browse files Browse the repository at this point in the history
  • Loading branch information
narimiran committed Mar 6, 2020
1 parent b80d293 commit 5efca40
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 @@ -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
Expand Down

0 comments on commit 5efca40

Please sign in to comment.