diff options
author | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-09-08 00:30:54 +0900 |
---|---|---|
committer | Yasuhiro Matsumoto <mattn.jp@gmail.com> | 2016-09-08 00:30:54 +0900 |
commit | 2bc6ac72c063321c137bcf1c71012c29e76e30fe (patch) | |
tree | ae42723f63072f994f323217d7167906ba56978e /tracecallback.go | |
parent | Merge branch 'master' into trace (diff) | |
download | golite-2bc6ac72c063321c137bcf1c71012c29e76e30fe.tar.gz golite-2bc6ac72c063321c137bcf1c71012c29e76e30fe.tar.xz |
fix build
Diffstat (limited to 'tracecallback.go')
-rw-r--r-- | tracecallback.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tracecallback.go b/tracecallback.go index 6291fe2..6a59282 100644 --- a/tracecallback.go +++ b/tracecallback.go @@ -85,7 +85,7 @@ func fillExpandedSQL(info *TraceInfo, db *C.sqlite3, pStmt unsafe.Pointer) { panic("No SQLite statement pointer in P arg of trace_v2 callback") } - expSQLiteCStr := C.sqlite3_expanded_sql(pStmt) + expSQLiteCStr := C.sqlite3_expanded_sql((*C.sqlite3_stmt)(pStmt)) if expSQLiteCStr == nil { fillDBError(&info.DBError, db) return |