From bfeda3f4f6486ce6c161e1e42063696cb58de35d Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 8 Nov 2016 17:07:32 +0900 Subject: fix build --- tracecallback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracecallback.go') diff --git a/tracecallback.go b/tracecallback.go index 9c42791..27dc72b 100644 --- a/tracecallback.go +++ b/tracecallback.go @@ -358,7 +358,7 @@ func (c *SQLiteConn) RegisterAggregator(name string, impl interface{}, pure bool if pure { opts |= C.SQLITE_DETERMINISTIC } - rv := sqlite3_create_function(c.db, cname, C.int(stepNArgs), C.int(opts), C.uintptr_t(newHandle(c, &ai)), nil, C.stepTrampoline, C.doneTrampoline) + rv := sqlite3_create_function(c.db, cname, C.int(stepNArgs), C.int(opts), newHandle(c, &ai), nil, C.stepTrampoline, C.doneTrampoline) if rv != C.SQLITE_OK { return c.lastError() } -- cgit v1.2.3