*sigh* Fix stupid M1/ARM casting issue. I hate Apple.

This commit is contained in:
Nolan Darilek 2021-03-15 14:02:05 -05:00
parent 50528ce2d1
commit fb7f1dddfc
1 changed files with 1 additions and 1 deletions

View File

@ -269,7 +269,7 @@ impl Backend for AvFoundation {
fn is_speaking(&self) -> Result<bool, Error> {
trace!("is_speaking()");
let is_speaking: i8 = unsafe { msg_send![self.synth, isSpeaking] };
Ok(is_speaking != NO)
Ok(is_speaking != NO as i8)
}
}