summaryrefslogtreecommitdiff
path: root/src/gtkext/graph/layout.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/gtkext/graph/layout.c')
-rw-r--r--src/gtkext/graph/layout.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gtkext/graph/layout.c b/src/gtkext/graph/layout.c
index 1084578..13f6270 100644
--- a/src/gtkext/graph/layout.c
+++ b/src/gtkext/graph/layout.c
@@ -248,7 +248,7 @@ GGraphLayout *g_graph_layout_new(GInstrBlock *blocks, GtkBufferView **views, siz
for (i = 0; i < *depth; i++)
printf(" ");
- g_graph_node_get_pending_position(node, &pending_flag, (pending_position []) { { 0 } });
+ g_graph_node_get_pending_position(node, &pending_flag, NULL);
flags = flags_list[pending_flag];
alloc = g_graph_node_get_allocation(node);
@@ -261,7 +261,7 @@ GGraphLayout *g_graph_layout_new(GInstrBlock *blocks, GtkBufferView **views, siz
{
printf(" - rank = %u -", g_graph_node_get_rank(node));
- g_flow_block_get_boundary(g_flow_node_get_block(node), &first, &last);
+ g_flow_block_get_boundary(g_flow_node_get_block(G_FLOW_NODE(node)), &first, &last);
printf(" - 0x%08x <-> 0x%08x", first->range.addr.virtual, last->range.addr.virtual);
}