summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordebris <marek.kotewicz@gmail.com>2018-08-14 12:55:55 +0200
committerdebris <marek.kotewicz@gmail.com>2018-08-14 12:55:55 +0200
commitc67224eb8298167fd0d2fb0ef4b1379bdf2eefd5 (patch)
treee7e4bc0267605487cba012c373cddec5cda1f444
parente131bd1b1dbb5d377de0690cfa3cd0c78e9814b2 (diff)
downloadrust-libc-c67224eb8298167fd0d2fb0ef4b1379bdf2eefd5.tar.gz
Use u32 for exchangedata
-rw-r--r--src/unix/bsd/apple/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/unix/bsd/apple/mod.rs b/src/unix/bsd/apple/mod.rs
index aa2b8f16e1..d7e71c0aef 100644
--- a/src/unix/bsd/apple/mod.rs
+++ b/src/unix/bsd/apple/mod.rs
@@ -2481,7 +2481,7 @@ extern {
flags: ::c_uint) -> ::c_int;
pub fn exchangedata(path1: *const ::c_char,
path2: *const ::c_char,
- options: ::c_ulong) -> ::c_int;
+ options: u32) -> ::c_int;
pub fn fremovexattr(filedes: ::c_int, name: *const ::c_char,
flags: ::c_int) -> ::c_int;