You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
use yazi_ffi::{CFDict,CFString,DADiskCopyDescription,DADiskCreateFromBSDName,DARegisterDiskAppearedCallback,DARegisterDiskDescriptionChangedCallback,DARegisterDiskDisappearedCallback,DASessionCreate,DASessionScheduleWithRunLoop,IOIteratorNext,IOObjectRelease,IORegistryEntryCreateCFProperty,IOServiceGetMatchingServices,IOServiceMatching};
@@ -161,7 +161,7 @@ impl Partitions {
161
161
defer!{unsafe{CFRelease(property)}};
162
162
163
163
#[allow(unexpected_cfgs)]
164
-
let cstr:*constc_char = unsafe{msg_send![property as*constObject,UTF8String]};
164
+
let cstr:*constc_char = unsafe{msg_send![property as*constAnyObject,UTF8String]};
0 commit comments