[Bug 268817] audio/deadbeef: fix build with clang 15
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Sat, 07 Jan 2023 16:22:20 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=268817 Bug ID: 268817 Summary: audio/deadbeef: fix build with clang 15 Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Some People Priority: --- Component: Individual Port(s) Assignee: danfe@FreeBSD.org Reporter: dim@FreeBSD.org Assignee: danfe@FreeBSD.org Flags: maintainer-feedback?(danfe@FreeBSD.org) During an exp-run for llvm 15 (see bug 265425), it turned out that audio/deadbeef failed to build with clang 15: threading_pthread.c:57:12: error: incompatible pointer to integer conversion returning 'pthread_t' (aka 'struct pthread *') from a function with result type 'intptr_t' (aka 'long') [-Wint-conversion] return tid; ^~~ This is because it is trying to implicitly convert a pthread_t into an integer. Add a cast to supress the warning. -- You are receiving this mail because: You are the assignee for the bug.