core: Fix types in rand mod

This commit is contained in:
Brian Anderson 2012-05-21 17:25:33 -07:00
parent c9f8ae02bc
commit a1b40d5136
1 changed files with 1 additions and 1 deletions

View File

@ -59,7 +59,7 @@ impl extensions for rng {
#[doc = "Return a random uint"]
fn gen_uint() -> uint {
self.gen_u64() as u64
self.gen_u64() as uint
}
#[doc = "Return a uint randomly chosen from the range [start, end], \