Fix accept pointer signedness warning portably (hopefully) using socklen_t.

git-svn-id: https://geany.svn.sourceforge.net/svnroot/geany/branches/unstable@5974 ea778897-0a13-0410-b9d1-a72fbfd435f5
This commit is contained in:
Nick Treleaven 2011-09-30 11:11:29 +00:00
parent 9ca8db635a
commit 53a0121f69

View File

@ -588,7 +588,7 @@ gboolean socket_lock_input_cb(GIOChannel *source, GIOCondition condition, gpoint
gint fd, sock;
gchar buf[BUFFER_LENGTH];
struct sockaddr_in caddr;
guint caddr_len = sizeof(caddr);
socklen_t caddr_len = sizeof(caddr);
GtkWidget *window = data;
gboolean popup = FALSE;