lib: fix can_seek_beginning method type cast
[babeltrace.git] / src / lib / graph / iterator.c
index 1030a4651390ce1a6c176b7fc2077cc5601cfc59..81f7dd9d37a18451dfdcc0838048ec4b5e2ee5c6 100644 (file)
@@ -435,7 +435,7 @@ int create_self_component_input_port_message_iterator(
        if (iterator->methods.seek_beginning &&
                        !iterator->methods.can_seek_beginning) {
                iterator->methods.can_seek_beginning =
-                       (bt_self_component_port_input_message_iterator_seek_beginning_method)
+                       (bt_self_component_port_input_message_iterator_can_seek_beginning_method)
                                can_seek_beginning_true;
        }
 
This page took 0.022934 seconds and 4 git commands to generate.