From: Simon Morlat Date: Thu, 6 Jun 2013 09:12:17 +0000 (+0200) Subject: fix warning in gtk app X-Git-Url: http://sjero.net/git/?p=linphone;a=commitdiff_plain;h=6a87488991fe206bc72deda1274610ceab9e3376 fix warning in gtk app --- diff --git a/gtk/main.c b/gtk/main.c index e914e42b..1aa2e287 100644 --- a/gtk/main.c +++ b/gtk/main.c @@ -568,7 +568,7 @@ static gboolean linphone_gtk_iterate(LinphoneCore *lc){ if (id!=0){ ms_message("Updating window decorations"); #ifndef WIN32 - w=gdk_window_foreign_new(id); + w=gdk_window_foreign_new((GdkNativeWindow)id); #else w=gdk_window_foreign_new((HANDLE)id); #endif @@ -587,7 +587,7 @@ static gboolean linphone_gtk_iterate(LinphoneCore *lc){ if (id!=0){ ms_message("Updating window decorations for preview"); #ifndef WIN32 - w=gdk_window_foreign_new(id); + w=gdk_window_foreign_new((GdkNativeWindow)id); #else w=gdk_window_foreign_new((HANDLE)id); #endif