diff --git a/src/wrapper.rs b/src/wrapper.rs index 0451b4b..c4c4f3d 100644 --- a/src/wrapper.rs +++ b/src/wrapper.rs @@ -57,7 +57,7 @@ impl INotify { ffi::inotify_add_watch( self.fd, - c_str.as_ptr(), + c_str.as_ptr() as *const _, mask ) };