summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordebris <marek.kotewicz@gmail.com>2018-08-01 13:29:15 +0200
committerdebris <marek.kotewicz@gmail.com>2018-08-01 13:29:15 +0200
commite131bd1b1dbb5d377de0690cfa3cd0c78e9814b2 (patch)
tree15e5e0365349bb73163bea2f46a1f44c71cd1048
parent3d5c968b20a33cb3b1779df8bf2cb8856c3f9065 (diff)
downloadrust-libc-e131bd1b1dbb5d377de0690cfa3cd0c78e9814b2.tar.gz
change exchangedata param c_long -> c_ulong
-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 965fe6042d..aa2b8f16e1 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_long) -> ::c_int;
+ options: ::c_ulong) -> ::c_int;
pub fn fremovexattr(filedes: ::c_int, name: *const ::c_char,
flags: ::c_int) -> ::c_int;