File gftp-gcc14.patch of Package gftp

Index: gftp-2.9.1b/lib/gftp.h
===================================================================
--- gftp-2.9.1b.orig/lib/gftp.h
+++ gftp-2.9.1b/lib/gftp.h
@@ -361,7 +361,7 @@ struct gftp_request_tag
   int wakeup_main_thread[2]; /* FD that gets written to by the threads to wakeup the parent */
 
   void *remote_addr;
-  size_t remote_addr_len;
+  socklen_t remote_addr_len;
   int ai_family;
   int ai_socktype;
   unsigned int use_udp : 1; /* does this use UDP protocol? */
openSUSE Build Service is sponsored by