diff options
Diffstat (limited to 'lib/std')
-rw-r--r-- | lib/std/sha1.nim | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/std/sha1.nim b/lib/std/sha1.nim index 958ac8ab0..b74b285f8 100644 --- a/lib/std/sha1.nim +++ b/lib/std/sha1.nim @@ -231,7 +231,7 @@ proc secureHashFile*(filename: string): SecureHash = var state = newSha1State() var buffer = newString(BufferLength) while true: - let length = readChars(f, buffer, 0, BufferLength) + let length = readChars(f, buffer) if length == 0: break buffer.setLen(length) |