Files
linux-atm/linux-atm-C99.patch
Jiri Bohac d06e95453d - Add linux-atm-C99.patch to fix a wrong type being passed to
functionaccept which violates C99 rules and causes compilation to
  fail with GCC 14 (and IMHO can cause wrong behavior on big-endian
  systems).  [boo#1221006]

If the request is OK, please also forward it to Factory soon-ish so
that we can switch the default compiler.

OBS-URL: https://build.opensuse.org/package/show/Base:System/linux-atm?expand=0&rev=27
2024-07-12 11:52:56 +00:00

14 lines
402 B
Diff

Index: linux-atm-2.5.2/src/led/conn.c
===================================================================
--- linux-atm-2.5.2.orig/src/led/conn.c
+++ linux-atm-2.5.2/src/led/conn.c
@@ -405,7 +405,7 @@ Conn_t *accept_conn(Conn_t *conn)
{
Conn_t *new;
struct sockaddr_atmsvc addr;
- size_t len;
+ socklen_t len;
int fd;
char buff[MAX_ATM_ADDR_LEN+1];