Skip to content

Commit 6164c77

Browse files
committed
bugfix size_t include
1 parent 4a1121f commit 6164c77

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

klib/crypt/sha1.hpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ namespace klib::crypt {
127127
uint32_t input[16];
128128
uint32_t offset = size % block_size;
129129

130-
for (size_t i = 0; i < length; i++) {
130+
for (uint32_t i = 0; i < length; i++) {
131131
buffer[offset++] = data[i];
132132
if (offset % block_size == 0) {
133133
for (int j = 0; j < 16; j++) {

0 commit comments

Comments
 (0)