From: Chris Howey Date: Thu, 29 Mar 2012 15:42:04 +0000 (-0500) Subject: Windows - Missed a line X-Git-Tag: v1.7.2~443 X-Git-Url: https://go.fuhry.dev/?a=commitdiff_plain;h=22a22f65156a882f93565e8fe1f7e5b3ea648dac;p=fsnotify.git Windows - Missed a line --- diff --git a/fsnotify_windows.go b/fsnotify_windows.go index e2baca3..3f90aa2 100644 --- a/fsnotify_windows.go +++ b/fsnotify_windows.go @@ -409,7 +409,7 @@ func (w *Watcher) readEvents() { var offset uint32 for { if n == 0 { - w.Event <- &Event{mask: FS_Q_OVERFLOW} + w.Event <- &FileEvent{mask: FS_Q_OVERFLOW} w.Error <- errors.New("short read in readEvents()") break }