rjeczalik / notify

File system event notification library on steroids.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

After updating Go to 1.10

rrborja opened this issue · comments

After updating, it wouldn't compile my project:

# github.com/rjeczalik/notify
../../rjeczalik/notify/watcher_fsevents_cgo.go:51: cannot use refZero (type int) as type *_Ctype_struct___CFAllocator in argument to func literal
../../rjeczalik/notify/watcher_fsevents_cgo.go:165: cannot use refZero (type int) as type *_Ctype_struct___CFAllocator in argument to func literal
../../rjeczalik/notify/watcher_fsevents_cgo.go:166: cannot use refZero (type int) as type *_Ctype_struct___CFAllocator in argument to func literal

Please ensure to fetch the latest HEAD from master. This PR fixes the issue you encountered.

I didn't know about the recent fixes. Thank you and it's now working!