From 1f5dbb83ddc981820cdc50180705cb142e10e40a Mon Sep 17 00:00:00 2001 From: Clark Gaebel Date: Sun, 21 Sep 2014 04:05:41 -0700 Subject: correctly match the kqueue man page --- src/sys/event.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/sys/event.rs b/src/sys/event.rs index 3fcbe0ad..ae57cec9 100644 --- a/src/sys/event.rs +++ b/src/sys/event.rs @@ -15,7 +15,7 @@ mod ffi { pub flags: EventFlag, // 2 pub fflags: FilterFlag, // 4 pub data: intptr_t, // 8 - pub udata: u64 // 8 + pub udata: uint // 8 } // Bug in rustc, cannot determine that kevent is #[repr(C)] @@ -163,7 +163,7 @@ pub fn ev_set(ev: &mut KEvent, filter: EventFilter, flags: EventFlag, fflags: FilterFlag, - udata: u64) { + udata: uint) { ev.ident = ident as u64; ev.filter = filter; -- cgit v1.2.3