forked from enlightenment/efl
eina - debug - fix warning by explicitly casting not auto0-casting
freebsd's new clang wants to make this an error, not a warning... it should be a warning really... but fix it either way. @fix
This commit is contained in:
parent
daa58f6da7
commit
5af8b5e4bc
|
@ -293,12 +293,14 @@ _signal_shutdown(void)
|
|||
}
|
||||
|
||||
static void
|
||||
_collect_bt(pthread_t pth)
|
||||
_collect_bt(Eina_Thread th)
|
||||
{
|
||||
// this async signals the thread to switch to the deebug signal handler
|
||||
// and collect a backtrace and other info from inside the thread
|
||||
#ifndef _WIN32
|
||||
pthread_kill(pth, SIG);
|
||||
pthread_kill((pthread_t)th, SIG); // we can cast Eina_Thread -> pthread_t
|
||||
#else
|
||||
(th); // silenmce unused warn
|
||||
#endif
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue