summaryrefslogtreecommitdiff
path: root/src/analysis/blocks/virtual.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/analysis/blocks/virtual.c')
-rw-r--r--src/analysis/blocks/virtual.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/analysis/blocks/virtual.c b/src/analysis/blocks/virtual.c
index 0cc6a0d..7f238d4 100644
--- a/src/analysis/blocks/virtual.c
+++ b/src/analysis/blocks/virtual.c
@@ -388,7 +388,7 @@ void g_virtual_block_add_child(GVirtualBlock *block, GInstrBlock *child)
* *
******************************************************************************/
-size_t g_virtual_block_count_children(GVirtualBlock *block)
+size_t g_virtual_block_count_children(const GVirtualBlock *block)
{
return block->children_count;
@@ -408,7 +408,7 @@ size_t g_virtual_block_count_children(GVirtualBlock *block)
* *
******************************************************************************/
-GInstrBlock *g_virtual_block_get_child(GVirtualBlock *block, size_t index)
+GInstrBlock *g_virtual_block_get_child(const GVirtualBlock *block, size_t index)
{
if (index >= block->children_count)
return NULL;