Skip to content

Commit

Permalink
Fix incorect return in memory.nim
Browse files Browse the repository at this point in the history
  • Loading branch information
EmilIvanichkovv committed Aug 11, 2022
1 parent f78651b commit 4a5cf4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/system/memory.nim
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ proc nimMoveMem*(dest, source: pointer, size: Natural) {.nonReloadable, compiler
while i < size:
d[i] = s[i]
inc i
return
return

nimCopyMem(dest, source, size)
return
Expand Down

0 comments on commit 4a5cf4d

Please sign in to comment.