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

pull/11/head
Nolan Darilek 2 years ago
parent 50528ce2d1
commit fb7f1dddfc
  1. 2
      src/backends/av_foundation.rs

@ -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)
}
}

Loading…
Cancel
Save