diff --git a/include/chat/misc.h b/include/chat/misc.h index eb5ceae..bb47e27 100644 --- a/include/chat/misc.h +++ b/include/chat/misc.h @@ -28,7 +28,7 @@ void why2_clean_threads(void); //CLOSE EVERY RUNNING THREAD typedef struct why2_connection { int connection; - int thread; //pthread_t + unsigned long thread; //pthread_t } why2_connection_t; #endif \ No newline at end of file