mirror of
https://github.com/isar/rusqlite.git
synced 2025-08-19 12:29:34 +08:00
Fix warnings from latest rustc
This commit is contained in:
@@ -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 {
|
||||
|
Reference in New Issue
Block a user