1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00
freebsd-ports/irc/trickyirc/files/patch-tricky_accept.c
Martin Wilke 72035115a1 - Fix build with gcc 4.2
- Pass maintainership to submitter

PR:		118635
Submitted by:	Pietro Cerutti <gahr@gahr.ch>
2007-12-14 19:08:30 +00:00

12 lines
375 B
C

--- tricky/accept.c.orig 2007-12-13 00:45:25.000000000 +0100
+++ tricky/accept.c 2007-12-13 00:46:50.000000000 +0100
@@ -22,7 +22,7 @@
int port;
struct sockaddr_in myAddr;
struct sockaddr_in *remAddr;
-int remAddrSize=0;
+socklen_t remAddrSize=0;
pthread_attr_t attr, *attrPtr = &attr;
RegisterThread("Arbiter","Manages the client and server communication",TRUE);