Fix format

This commit is contained in:
Jeremy Soller
2018-03-08 20:20:21 -07:00
parent 0e766c6b53
commit 56e304a2af
+2 -2
View File
@@ -34,14 +34,14 @@ pub unsafe fn printf<W: fmt::Write>(mut w: W, format: *const c_char, mut ap: VaL
w.write_fmt(format_args!("{}", a));
found_percent = false;
},
}
'f' | 'F' => {
let a: f64 = mem::transmute(ap.get::<u64>());
w.write_fmt(format_args!("{}", a));
found_percent = false;
},
}
'n' => {
let _a = ap.get::<c_int>();