1 2 3 4 5 6 7 8 9 10 11 12 13 14
|
Index: httperf/src/idleconn.c
Description: fix issue detected with gcc14
===================================================================
--- httperf.orig/src/idleconn.c 2024-08-04 13:11:38.564124746 +0200
+++ httperf/src/idleconn.c 2024-08-04 19:17:55.689734197 +0200
@@ -161,7 +161,7 @@
}
sin = server_addr;
- if (connect (sd, &sin, sizeof (sin)) < 0)
+ if (connect (sd, (const struct sockaddr *)&sin, sizeof (sin)) < 0)
{
printf("connect: %s\n", strerror (errno));
switch (errno)
|