language changes: precedence change.

This commit is contained in:
Kang Seonghoon 2015-01-04 15:05:56 +09:00
parent c37365919b
commit 50d73002d8
1 changed files with 1 additions and 1 deletions

View File

@ -1166,7 +1166,7 @@ mod internals {
pub fn from_of(Of(of): Of) -> Mdf {
let ol = of >> 3;
match OL_TO_MDL.get(ol as uint) {
Some(&v) => Mdf(of + (v as u32 << 3)),
Some(&v) => Mdf(of + ((v as u32) << 3)),
None => Mdf(0)
}
}