summaryrefslogtreecommitdiff
path: root/sysutils/ipfs-go/files/extra-patch-32bit
blob: 44d0e647b6c8b8afb9fdf9aacff9868021ad9e8b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-reuseport/poll/poll_bsd.go.orig	2015-08-02 14:00:34 UTC
+++ src/github.com/ipfs/go-ipfs/Godeps/_workspace/src/github.com/jbenet/go-reuseport/poll/poll_bsd.go
@@ -21,7 +21,7 @@ func New(fd int) (p *Poller, err error) 
 	}
 
 	p.event = syscall.Kevent_t{
-		Ident:  uint64(fd),
+		Ident:  uint32(fd),
 		Filter: syscall.EVFILT_WRITE,
 		Flags:  syscall.EV_ADD | syscall.EV_ENABLE | syscall.EV_ONESHOT,
 		Fflags: 0,