diff --git a/src/yuzu/main.cpp b/src/yuzu/main.cpp index a06f720221..6c2690c23d 100644 --- a/src/yuzu/main.cpp +++ b/src/yuzu/main.cpp @@ -1368,14 +1368,14 @@ void GMainWindow::HandleSigInterrupt(int sig) { // Calling into Qt directly from a signal handler is not safe, // so wake up a QSocketNotifier with this hacky write call instead. char a = 1; - (void) write(sig_interrupt_fds[0], &a, sizeof(a)); + (void)write(sig_interrupt_fds[0], &a, sizeof(a)); } void GMainWindow::OnSigInterruptNotifierActivated() { sig_interrupt_notifier->setEnabled(false); char a; - (void) read(sig_interrupt_fds[1], &a, sizeof(a)); + (void)read(sig_interrupt_fds[1], &a, sizeof(a)); sig_interrupt_notifier->setEnabled(true);