summaryrefslogtreecommitdiff
path: root/net-ftp/gftp/files/gftp-2.9.1b-fix-socklen-type.patch
blob: f5bcdca11bbf294487f8b7d8c24f9e1e55b0433c (plain)
1
2
3
4
5
6
7
8
9
10
11
--- a/lib/gftp.h	2024-04-26 09:08:32.404275437 +0000
+++ b/lib/gftp.h	2024-04-26 09:11:56.292057323 +0000
@@ -361,7 +361,7 @@
   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? */