Commit 2aafb7f0 authored by Simon Morlat's avatar Simon Morlat

Fix invalid cast from long to int, causing a compare operation to always return FALSE.

This resulted in the main loop being indefinitely stuck into write() into a file descriptor.
parent c9979fe3
Pipeline #355 failed with stage
in 0 seconds
...@@ -259,7 +259,7 @@ struct belle_sip_main_loop{ ...@@ -259,7 +259,7 @@ struct belle_sip_main_loop{
bctbx_mutex_t timer_sources_mutex; bctbx_mutex_t timer_sources_mutex;
#ifndef _WIN32 #ifndef _WIN32
int control_fds[2]; int control_fds[2];
unsigned int thread_id; unsigned long thread_id;
#endif #endif
}; };
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment