fix build

This commit is contained in:
Yasuhiro Matsumoto 2016-11-08 17:24:01 +09:00
parent d1009b4fa6
commit aa33ddc53b
1 changed files with 1 additions and 1 deletions

View File

@ -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
}