mirror of
https://github.com/varun-r-mallya/sysprof.git
synced 2025-12-31 20:36:25 +00:00
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:
committed by
Christian Hergert
parent
15a2873c25
commit
329743c917
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user