Fix warnings from latest rustc

This commit is contained in:
John Gallagher
2015-02-23 20:20:35 -05:00
parent 31d629070e
commit ee89f8db59
3 changed files with 13 additions and 12 deletions

View File

@@ -48,7 +48,7 @@ pub const SQLITE_NULL : c_int = 5;
pub type SqliteDestructor = extern "C" fn(*mut c_void);
pub fn SQLITE_TRANSIENT() -> SqliteDestructor {
unsafe { mem::transmute(-1is) }
unsafe { mem::transmute(-1isize) }
}
pub fn code_to_str(code: c_int) -> &'static str {