1
0
mirror of https://github.com/Tha14/toxic.git synced 2025-07-05 08:46:47 +02:00

use proper variable type for sig handler flags

This commit is contained in:
Jfreegman
2014-09-22 14:27:33 -04:00
parent c07c0028bb
commit 3c74385f5c
2 changed files with 6 additions and 5 deletions

View File

@ -26,6 +26,7 @@
#include <pthread.h>
#include <wctype.h>
#include <wchar.h>
#include <signal.h>
#include <tox/tox.h>
@ -67,8 +68,8 @@ typedef enum {
struct _Winthread {
pthread_t tid;
pthread_mutex_t lock;
bool sig_exit_toxic;
bool flag_resize;
volatile sig_atomic_t sig_exit_toxic;
volatile sig_atomic_t flag_resize;
};
struct _cqueue_thread {