mirror of https://github.com/ndarilek/tts-rs.git
Add cast to (hopefully) get AppKit compiling on M1 macs.
This commit is contained in:
parent
1f510120a5
commit
81eba99594
|
@ -198,7 +198,7 @@ impl Backend for AppKit {
|
||||||
|
|
||||||
fn is_speaking(&self) -> Result<bool, Error> {
|
fn is_speaking(&self) -> Result<bool, Error> {
|
||||||
let is_speaking: i8 = unsafe { msg_send![self.0, isSpeaking] };
|
let is_speaking: i8 = unsafe { msg_send![self.0, isSpeaking] };
|
||||||
Ok(is_speaking == YES)
|
Ok(is_speaking == YES as i8)
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue