[geany/geany] 6d3348: Fix warning 'comparison between signed and unsigned integer expressions'
Nick Treleaven
git-noreply at xxxxx
Sun Aug 11 13:53:35 UTC 2013
Branch: refs/heads/master
Author: Nick Treleaven <nick.treleaven at btinternet.com>
Committer: Nick Treleaven <nick.treleaven at btinternet.com>
Date: Sun, 11 Aug 2013 13:53:35 UTC
Commit: 6d334853370ca3c7091e82f6ea082633f426982b
https://github.com/geany/geany/commit/6d334853370ca3c7091e82f6ea082633f426982b
Log Message:
-----------
Fix warning 'comparison between signed and unsigned integer expressions'
With gcc on Windows.
Modified Paths:
--------------
src/socket.c
Modified: src/socket.c
4 files changed, 4 insertions(+), 0 deletions(-)
===================================================================
@@ -762,7 +762,11 @@ static gint socket_fd_check_io(gint fd, GIOCondition cond)
#endif
FD_ZERO(&fds);
+#ifdef G_OS_WIN32
+ FD_SET((SOCKET)fd, &fds);
+#else
FD_SET(fd, &fds);
+#endif
if (cond == G_IO_IN)
{
--------------
This E-Mail was brought to you by github_commit_mail.py (Source: https://github.com/geany/infrastructure).
More information about the Commits
mailing list