From 7a9f5d5a79c176aefe80b48668297207bdd38f1e Mon Sep 17 00:00:00 2001 From: Jamie Gadd Date: Thu, 13 Apr 2006 12:41:21 +0000 Subject: [PATCH] Fix casts from void* to int on x86_64 gcc by using wxUIntPtr instead. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@38697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/gtk/dataview.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/gtk/dataview.cpp b/src/gtk/dataview.cpp index d0d6b5d919..ddfe171080 100644 --- a/src/gtk/dataview.cpp +++ b/src/gtk/dataview.cpp @@ -283,7 +283,7 @@ wxgtk_list_store_get_path (GtkTreeModel *tree_model, GtkTreePath *retval = gtk_tree_path_new (); // user_data is just the index - int i = (int) iter->user_data; + int i = (wxUIntPtr) iter->user_data; gtk_tree_path_append_index (retval, i); return retval; } @@ -341,7 +341,7 @@ wxgtk_list_store_iter_next (GtkTreeModel *tree_model, g_return_val_if_fail (list_store->stamp == iter->stamp, FALSE); - int n = (int) iter->user_data; + int n = (wxUIntPtr) iter->user_data; if (n == -1) return FALSE; -- 2.45.2