Skip to content

Commit 03c74d1

Browse files
committed
fix cast to i32
1 parent 83ef116 commit 03c74d1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/lib.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -448,7 +448,7 @@ fn convert_row(py: Python, row: libsql_core::Row, column_count: i32) -> PyResult
448448
let libsql_value = row.get_value(col_idx).map_err(to_py_err)?;
449449
let value = match libsql_value {
450450
libsql_core::Value::Integer(v) => {
451-
let value = v as i32;
451+
let value = v as i64;
452452
value.into_py(py)
453453
}
454454
libsql_core::Value::Real(v) => v.into_py(py),

0 commit comments

Comments
 (0)