A better fix is just to change the type of l to socklen_t: https://offog.org/git/garstow/media/libcddb/patches/gcc-15.diff The pointer cast will silently give the wrong behaviour if the types aren't the same (and strictly it's UB in modern C).
Fix build error with gcc-14
[BUG] [Build Failed on RISC-V Board] Please consider updating autotool scripts.
Fix CDDB_LOG_H header guard (was testing against CDDB_LOH_H)
buffer check in cddb_write_data
Collision with SEARCH_ALL define under Windows
include/cddb/cddb_log.h:22: bad define ?
Queries from cache always return single match