Commit 9c72c724 authored by Simon Morlat's avatar Simon Morlat
Browse files

fix warning in gtk app

parent 14bd5aa2
...@@ -568,7 +568,7 @@ static gboolean linphone_gtk_iterate(LinphoneCore *lc){ ...@@ -568,7 +568,7 @@ static gboolean linphone_gtk_iterate(LinphoneCore *lc){
if (id!=0){ if (id!=0){
ms_message("Updating window decorations"); ms_message("Updating window decorations");
#ifndef WIN32 #ifndef WIN32
w=gdk_window_foreign_new(id); w=gdk_window_foreign_new((GdkNativeWindow)id);
#else #else
w=gdk_window_foreign_new((HANDLE)id); w=gdk_window_foreign_new((HANDLE)id);
#endif #endif
...@@ -587,7 +587,7 @@ static gboolean linphone_gtk_iterate(LinphoneCore *lc){ ...@@ -587,7 +587,7 @@ static gboolean linphone_gtk_iterate(LinphoneCore *lc){
if (id!=0){ if (id!=0){
ms_message("Updating window decorations for preview"); ms_message("Updating window decorations for preview");
#ifndef WIN32 #ifndef WIN32
w=gdk_window_foreign_new(id); w=gdk_window_foreign_new((GdkNativeWindow)id);
#else #else
w=gdk_window_foreign_new((HANDLE)id); w=gdk_window_foreign_new((HANDLE)id);
#endif #endif
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment