rustc: Fix type mismatch in lib/sha1.rs constants

This commit is contained in:
Patrick Walton 2011-05-17 20:05:47 -07:00
parent a98ea4f3ef
commit df9801c9f0
1 changed files with 3 additions and 3 deletions

View File

@ -28,9 +28,9 @@ state type sha1 = state obj {
};
// Some unexported constants
const uint digest_buf_len = 5;
const uint msg_block_len = 64;
const uint work_buf_len = 80;
const uint digest_buf_len = 5u;
const uint msg_block_len = 64u;
const uint work_buf_len = 80u;
const u32 k0 = 0x5A827999u32;
const u32 k1 = 0x6ED9EBA1u32;