summaryrefslogtreecommitdiff
path: root/src/inotify
diff options
context:
space:
mode:
Diffstat (limited to 'src/inotify')
-rw-r--r--src/inotify/bits.go6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/inotify/bits.go b/src/inotify/bits.go
index 432933c..70dd012 100644
--- a/src/inotify/bits.go
+++ b/src/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 (