Skip to content

Commit df9801c

Browse files
committed
rustc: Fix type mismatch in lib/sha1.rs constants
1 parent a98ea4f commit df9801c

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/lib/sha1.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,9 @@ state type sha1 = state obj {
2828
};
2929

3030
// Some unexported constants
31-
const uint digest_buf_len = 5;
32-
const uint msg_block_len = 64;
33-
const uint work_buf_len = 80;
31+
const uint digest_buf_len = 5u;
32+
const uint msg_block_len = 64u;
33+
const uint work_buf_len = 80u;
3434

3535
const u32 k0 = 0x5A827999u32;
3636
const u32 k1 = 0x6ED9EBA1u32;

0 commit comments

Comments
 (0)