From fed1c1c16559460f2293266c2e52956cfe3aa9b7 Mon Sep 17 00:00:00 2001 From: gwenn Date: Sat, 3 Jun 2023 11:24:32 +0200 Subject: [PATCH] Fix PrepFlags --- src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/lib.rs b/src/lib.rs index f4eaead..11e1ad4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1123,7 +1123,7 @@ bitflags::bitflags! { /// [sqlite3_prepare_v3](https://sqlite.org/c3ref/c_prepare_normalize.html) for details. #[derive(Clone, Copy, Debug, Default, Eq, Hash, PartialEq)] #[repr(C)] - pub struct PrepFlags: ::std::os::raw::c_int { + pub struct PrepFlags: ::std::os::raw::c_uint { /// A hint to the query planner that the prepared statement will be retained for a long time and probably reused many times. const SQLITE_PREPARE_PERSISTENT = 0x01; /// Causes the SQL compiler to return an error (error code SQLITE_ERROR) if the statement uses any virtual tables.