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



commit c78238d36c262fc9e2e7ba18142db04b45fe4b35
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 ddf27f7..8952523 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -1215,7 +1215,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]