diff options
Diffstat (limited to 'inotify')
-rw-r--r-- | inotify/bits.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/inotify/bits.go b/inotify/bits.go index 432933c..70dd012 100644 --- a/inotify/bits.go +++ b/inotify/bits.go @@ -7,10 +7,8 @@ const ( IN_NONBLOCK uint32 = 00004000 ) -// Logically, Fd and Wd should be 'int', not 'int64', to match the OS. -// But, because there's no 'sync/atomic.SwapInt', we cast up to int64. -type Fd int64 -type Wd int64 +type Fd int +type Wd int type Mask uint32 const ( |