From b909b87db3d9a600e9ef443f50991b99f60bb416 Mon Sep 17 00:00:00 2001 From: snek Date: Sun, 24 Jul 2022 18:57:24 -0700 Subject: [PATCH] pain --- src/yuzu/main.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);