diff --git a/sqlite3.go b/sqlite3.go index 088b110..d8f7756 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -169,7 +169,7 @@ func (s *SQLiteStmt) bind(args []interface{}) error { rv = C.sqlite3_bind_int(s.s, n, C.int(v)) case bool: if bool(v) { - rv = C.sqlite3_bind_int(s.s, n, -1) + rv = C.sqlite3_bind_int(s.s, n, 1) } else { rv = C.sqlite3_bind_int(s.s, n, 0) }