SF.net SVN: geany:[5974] branches/unstable/src/socket.c

ntrel at users.sourceforge.net ntrel at xxxxx
Fri Sep 30 11:11:30 UTC 2011


Revision: 5974
          http://geany.svn.sourceforge.net/geany/?rev=5974&view=rev
Author:   ntrel
Date:     2011-09-30 11:11:29 +0000 (Fri, 30 Sep 2011)
Log Message:
-----------
Fix accept pointer signedness warning portably (hopefully) using socklen_t.

Modified Paths:
--------------
    branches/unstable/src/socket.c

Modified: branches/unstable/src/socket.c
===================================================================
--- branches/unstable/src/socket.c	2011-09-30 11:10:22 UTC (rev 5973)
+++ branches/unstable/src/socket.c	2011-09-30 11:11:29 UTC (rev 5974)
@@ -588,7 +588,7 @@
 	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;
 

This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Commits mailing list