diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index bdfff7799d..2d31f41a6a 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -3617,7 +3617,7 @@ bool wxDataViewCtrl::Create(wxWindow *parent, wxWindowID id, gs_target.target = const_cast("UTF8_STRING"); gs_target.flags = 0; - gs_target.info = -1; + gs_target.info = static_cast(-1); gtk_tree_view_enable_model_drag_source( GTK_TREE_VIEW(m_treeview), GDK_BUTTON1_MASK, &gs_target, 1, (GdkDragAction) GDK_ACTION_COPY );