You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
libcddb/SOURCES/pointer-types.patch

12 lines
550 B

--- lib/cddb_net.c~ 2024-02-01 13:39:55.794671164 -0600
+++ lib/cddb_net.c 2024-02-01 13:40:50.551398466 -0600
@@ -329,7 +329,7 @@
default:
/* we got connected, check error condition */
l = sizeof(rv);
- getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &rv, &l);
+ getsockopt(sockfd, SOL_SOCKET, SO_ERROR, &rv, (socklen_t * restrict)&l);
if (rv) {
/* something went wrong, simulate normal connect behaviour */
errno = rv;