[evolution-data-server/evolution-data-server-3-12] Bug 741699 - Fix "incompatible pointer type" compiler warning



commit 23340ce625df8603682869d592e9b1380e3ac66d
Author: Debarshi Ray <debarshir gnome org>
Date:   Mon Jan 5 16:15:12 2015 +0100

    Bug 741699 - Fix "incompatible pointer type" compiler warning

 camel/providers/imapx/camel-imapx-server.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index e0bae5e..2f5a8d0 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1223,7 +1223,7 @@ imapx_server_set_connection_timeout (GIOStream *connection,
        if (!G_IS_SOCKET_CONNECTION (connection))
                return previous_timeout;
 
-       socket = g_socket_connection_get_socket (connection);
+       socket = g_socket_connection_get_socket (G_SOCKET_CONNECTION (connection));
        if (socket) {
                previous_timeout = g_socket_get_timeout (socket);
                g_socket_set_timeout (socket, timeout_seconds);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]