Skip to content

Commit 638cd67

Browse files
committed
Merge pull request #33 from petevine/patch-1
Fix compilation on ARM (for Rust 1.5)
2 parents 63c0772 + 680f39a commit 638cd67

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/wrapper.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ impl INotify {
5757

5858
ffi::inotify_add_watch(
5959
self.fd,
60-
c_str.as_ptr(),
60+
c_str.as_ptr() as *const _,
6161
mask
6262
)
6363
};

0 commit comments

Comments
 (0)