[vinagre] Quell a compiler warning



commit c53eff741628da2d091c8582897b21112061a50a
Author: Matthias Clasen <mclasen redhat com>
Date:   Wed Feb 9 09:58:53 2011 -0500

    Quell a compiler warning

 plugins/rdp/vinagre-rdp-tab.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/plugins/rdp/vinagre-rdp-tab.c b/plugins/rdp/vinagre-rdp-tab.c
index c7236f6..2c7ff4e 100644
--- a/plugins/rdp/vinagre-rdp-tab.c
+++ b/plugins/rdp/vinagre-rdp-tab.c
@@ -98,7 +98,7 @@ delay_connect (GObject *object)
     arg[i++] = g_strdup ("-f");
 
   arg[i++] = g_strdup ("-X");
-  arg[i++] = g_strdup_printf ("%d", gtk_socket_get_id (GTK_SOCKET (rdp_tab->priv->box)));
+  arg[i++] = g_strdup_printf ("%d", (int)gtk_socket_get_id (GTK_SOCKET (rdp_tab->priv->box)));
 
   if (username && *username)
     {



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