]> git.saurik.com Git - wxWidgets.git/commitdiff
fix gcc warning about assigning -1 to a guint
authorVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Mar 2008 01:45:36 +0000 (01:45 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Fri, 28 Mar 2008 01:45:36 +0000 (01:45 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52887 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/dataview.cpp

index bdfff7799daf67d426b2283a25c8fe075a461deb..2d31f41a6a356c896d685b3bea7125f1a66798bc 100644 (file)
@@ -3617,7 +3617,7 @@ bool wxDataViewCtrl::Create(wxWindow *parent, wxWindowID id,
 
     gs_target.target = const_cast<char *>("UTF8_STRING");
     gs_target.flags = 0;
-    gs_target.info = -1;
+    gs_target.info = static_cast<guint>(-1);
     gtk_tree_view_enable_model_drag_source( GTK_TREE_VIEW(m_treeview),
        GDK_BUTTON1_MASK, &gs_target, 1, (GdkDragAction) GDK_ACTION_COPY );