| ... | @@ -493,7 +493,7 @@ pub const Loop = struct { | ... | @@ -493,7 +493,7 @@ pub const Loop = struct { |
| 493 | pub fn waitUntilFdWritableOrReadable(self: *Loop, fd: os.fd_t) void { | 493 | pub fn waitUntilFdWritableOrReadable(self: *Loop, fd: os.fd_t) void { |
| 494 | switch (builtin.os.tag) { | 494 | switch (builtin.os.tag) { |
| 495 | .linux => { | 495 | .linux => { |
| 496 | self.linuxWaitFd(@intCast(usize, fd), os.EPOLLET | os.EPOLLONESHOT | os.EPOLLOUT | os.EPOLLIN); | 496 | self.linuxWaitFd(fd, os.EPOLLET | os.EPOLLONESHOT | os.EPOLLOUT | os.EPOLLIN); |
| 497 | }, | 497 | }, |
| 498 | .macosx, .freebsd, .netbsd, .dragonfly => { | 498 | .macosx, .freebsd, .netbsd, .dragonfly => { |
| 499 | self.bsdWaitKev(@intCast(usize, fd), os.EVFILT_READ, os.EV_ONESHOT); | 499 | self.bsdWaitKev(@intCast(usize, fd), os.EVFILT_READ, os.EV_ONESHOT); |