rjeczalik / notify

File system event notification library on steroids.
MIT License
902 stars 128 forks source link

After updating Go to 1.10 #145

Closed rrborja closed 6 years ago

rrborja commented 6 years ago

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
rjeczalik commented 6 years ago

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

rrborja commented 6 years ago

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