This is an automated email from the git hooks/post-receive script.
git pushed a commit to branch master
in repository efl.
View the commit online.
commit 5af8b5e4bc7aa7078e8aba78d481258896c87dd3
Author: Carsten Haitzler <[email protected]>
AuthorDate: Wed Feb 15 10:53:04 2023 +0000
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
---
src/lib/eina/eina_debug_bt.c | 6 ++++--
1 file changed, 4 insertions(+), 2 deletions(-)
diff --git a/src/lib/eina/eina_debug_bt.c b/src/lib/eina/eina_debug_bt.c
index 34623d05fd..9e64f3f526 100644
--- a/src/lib/eina/eina_debug_bt.c
+++ b/src/lib/eina/eina_debug_bt.c
@@ -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
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.