From aa33ddc53b0bbb84bda2e805902efe35ae66092f Mon Sep 17 00:00:00 2001 From: Yasuhiro Matsumoto Date: Tue, 8 Nov 2016 17:24:01 +0900 Subject: [PATCH] fix build --- tracecallback.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tracecallback.go b/tracecallback.go index 27dc72b..93688d4 100644 --- a/tracecallback.go +++ b/tracecallback.go @@ -396,7 +396,7 @@ func (c *SQLiteConn) SetTrace(requested *TraceConfig) error { // The callback trampoline function does cleanup on Close event, // regardless of the presence or absence of the user callback. // Therefore it needs the Close event to be selected: - actualEventMask := reqCopy.EventMask | TraceClose + actualEventMask := uint(reqCopy.EventMask | TraceClose) err := c.setSQLiteTrace(actualEventMask) return err }