From d9f6dadfbf7a748501f2eb8cb7a2fa4de845fedc Mon Sep 17 00:00:00 2001 From: mattn Date: Mon, 8 Apr 2013 17:38:30 +0900 Subject: [PATCH] Add int32 type, close #55 --- sqlite3.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sqlite3.go b/sqlite3.go index 40458b5..bbe7881 100644 --- a/sqlite3.go +++ b/sqlite3.go @@ -252,6 +252,8 @@ func (s *SQLiteStmt) bind(args []driver.Value) error { } case int: rv = C.sqlite3_bind_int(s.s, n, C.int(v)) + case int32: + rv = C.sqlite3_bind_int(s.s, n, C.int(v)) case int64: rv = C.sqlite3_bind_int64(s.s, n, C.sqlite3_int64(v)) case byte: