X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fself-component-port-input-message-iterator.h;fp=include%2Fbabeltrace%2Fgraph%2Fself-component-port-input-message-iterator.h;h=1efefe13565d757b9fe575f91bc70438b927c563;hp=61fd2b21acafb50e63ba928b289afc3a51ff5373;hb=005f1204d7620018bb2c1406b6194940f0ee119f;hpb=25f741168b45db9dd975136cfd3f66dbd9af39d0 diff --git a/include/babeltrace/graph/self-component-port-input-message-iterator.h b/include/babeltrace/graph/self-component-port-input-message-iterator.h index 61fd2b21..1efefe13 100644 --- a/include/babeltrace/graph/self-component-port-input-message-iterator.h +++ b/include/babeltrace/graph/self-component-port-input-message-iterator.h @@ -31,7 +31,8 @@ /* * For bt_component, bt_message_iterator, * bt_self_component_port_input_message_iterator, - * bt_self_component_port_input, bt_message_array_const, bt_bool + * bt_self_component_port_input, bt_message_array_const, bt_bool, + * __BT_UPCAST */ #include @@ -44,7 +45,7 @@ bt_message_iterator * bt_self_component_port_input_message_iterator_as_message_iterator( bt_self_component_port_input_message_iterator *iterator) { - return (void *) iterator; + return __BT_UPCAST(bt_message_iterator, iterator); } extern bt_self_component_port_input_message_iterator *