diff options
author | Clark Gaebel <cgaebel@mozilla.com> | 2014-09-21 04:05:41 -0700 |
---|---|---|
committer | Clark Gaebel <cgaebel@mozilla.com> | 2014-09-21 04:05:41 -0700 |
commit | 1f5dbb83ddc981820cdc50180705cb142e10e40a (patch) | |
tree | d444cec4673496213987b8b738c890e894e94cb9 /src | |
parent | 2078dc14176f1cc4bba1967a98dc2bf2cfa942de (diff) | |
download | nix-1f5dbb83ddc981820cdc50180705cb142e10e40a.zip |
correctly match the kqueue man page
Diffstat (limited to 'src')
-rw-r--r-- | src/sys/event.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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; |