summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--xevents.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xevents.c b/xevents.c
index b0d1c89..d3209ee 100644
--- a/xevents.c
+++ b/xevents.c
@@ -451,7 +451,7 @@ out:
 
 static struct xevent_q _xevq, _xevq_putaway;
 static short _xev_q_lock = 0;
-int _xev_quit = 0;
+volatile sig_atomic_t _xev_quit = 0;
 
 void
 xev_init(void)