From e012eadbff26f03628ed22fd190e5cefc48fd41a Mon Sep 17 00:00:00 2001 From: Jon Bergli Heier Date: Sat, 8 May 2010 21:19:58 +0200 Subject: Cast tag->id to gpointer in tagview_model_foreach. --- window_tag.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/window_tag.c b/window_tag.c index 6a067dc..6c24e73 100644 --- a/window_tag.c +++ b/window_tag.c @@ -37,7 +37,7 @@ static gboolean tagview_model_foreach(GtkTreeModel *model, GtkTreePath *path, Gt data = user_data; tag_model_get_tag_record(GTK_TREE_MODEL(model), iter, &tag); - inconsistent_data = g_hash_table_lookup(data->inconsistent_table, tag->id); + inconsistent_data = g_hash_table_lookup(data->inconsistent_table, (gpointer)tag->id); if(inconsistent_data) { tag_model_set_checked(GTK_TREE_MODEL(model), iter, inconsistent_data->active); tag_model_set_inconsistent(GTK_TREE_MODEL(model), iter, inconsistent_data->inconsistent); -- cgit v1.2.3