callgraph: Use U64_TO_POINTER

This fixes a "cast to pointer from integer of different size" on i586.

https://bugzilla.gnome.org/show_bug.cgi?id=767693
This commit is contained in:
Jussi Kukkonen
2016-06-10 14:01:54 +03:00
committed by Christian Hergert
parent 15a2873c25
commit 329743c917

View File

@ -135,7 +135,7 @@ build_functions_store (StackNode *node,
gtk_list_store_append (state->store, &iter);
gtk_list_store_set (state->store, &iter,
COLUMN_NAME, (const gchar *)node->data,
COLUMN_NAME, U64_TO_POINTER(node->data),
COLUMN_SELF, 100.0 * size / state->profile_size,
COLUMN_TOTAL, 100.0 * total / state->profile_size,
COLUMN_POINTER, node,