changeset 1948:30f7c8f9c6b9

[gaim-migrate @ 1958] socklen_t!!! committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Fri, 01 Jun 2001 23:48:29 +0000
parents e0631236c970
children 3397860c22e9
files plugins/icq/socketmanager.c plugins/icq/socketmanager.h
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/icq/socketmanager.c	Fri Jun 01 23:29:09 2001 +0000
+++ b/plugins/icq/socketmanager.c	Fri Jun 01 23:48:29 2001 +0000
@@ -72,7 +72,7 @@
  * Creates a new socket by accepting a connection from a listening
  * socket.
  */
-int icq_SocketAccept(int listens, struct sockaddr *addr, socklen_t *addrlen)
+int icq_SocketAccept(int listens, struct sockaddr *addr, unsigned int *addrlen)
 {
   int s = accept(listens, addr, addrlen);
 
--- a/plugins/icq/socketmanager.h	Fri Jun 01 23:29:09 2001 +0000
+++ b/plugins/icq/socketmanager.h	Fri Jun 01 23:48:29 2001 +0000
@@ -45,7 +45,7 @@
 };
 
 int icq_SocketNew(int domain, int type, int protocol);
-int icq_SocketAccept(int listens, struct sockaddr *addr, socklen_t *addrlen);
+int icq_SocketAccept(int listens, struct sockaddr *addr, unsigned int *addrlen);
 void icq_SocketAlloc(int socket_fd);
 int icq_SocketDelete(int socket_fd);
 void icq_SocketSetHandler(int socket_fd, int type, icq_SocketHandler handler,