]> go.fuhry.dev Git - fsnotify.git/commitdiff
Windows - Missed a line
authorChris Howey <chris@howey.me>
Thu, 29 Mar 2012 15:42:04 +0000 (10:42 -0500)
committerChris Howey <chris@howey.me>
Thu, 29 Mar 2012 15:42:04 +0000 (10:42 -0500)
fsnotify_windows.go

index e2baca32806ae6c8502fb54a736e2e2c3d92be8f..3f90aa22ba946081ebc200a118cc7e3f4c34f698 100644 (file)
@@ -409,7 +409,7 @@ func (w *Watcher) readEvents() {
                 var offset uint32\r
                 for {\r
                         if n == 0 {\r
-                                w.Event <- &Event{mask: FS_Q_OVERFLOW}\r
+                                w.Event <- &FileEvent{mask: FS_Q_OVERFLOW}\r
                                 w.Error <- errors.New("short read in readEvents()")\r
                                 break\r
                         }\r