From b4ba0d061c1ef2f8069a568992eb98b7c060f5cf Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Sat, 12 Sep 2015 09:11:03 -0600 Subject: inotify: fix the type of the Init1 flags --- inotify/bits.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inotify/bits.go b/inotify/bits.go index 70dd012..2c65736 100644 --- a/inotify/bits.go +++ b/inotify/bits.go @@ -3,8 +3,8 @@ package inotify const ( // Flags for the parameter of InotifyInit1(). // These, oddly, appear to be 24-bit numbers. - IN_CLOEXEC uint32 = 02000000 - IN_NONBLOCK uint32 = 00004000 + IN_CLOEXEC int = 02000000 + IN_NONBLOCK int = 00004000 ) type Fd int -- cgit v1.1-4-g5e80