X-Git-Url: http://git.efficios.com/?p=babeltrace.git;a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-class-filter.h;fp=include%2Fbabeltrace%2Fgraph%2Fcomponent-class-filter.h;h=2e8f472e6632c84c34763f9b851a64f0847a8a0e;hp=cf001bf8cd9d49d809814c1727fc54e4df2d9bad;hb=005f1204d7620018bb2c1406b6194940f0ee119f;hpb=25f741168b45db9dd975136cfd3f66dbd9af39d0 diff --git a/include/babeltrace/graph/component-class-filter.h b/include/babeltrace/graph/component-class-filter.h index cf001bf8..2e8f472e 100644 --- a/include/babeltrace/graph/component-class-filter.h +++ b/include/babeltrace/graph/component-class-filter.h @@ -43,7 +43,7 @@ * bt_port_output, bt_query_executor, bt_self_component_class_filter, * bt_self_component_filter, bt_self_component_port_input, * bt_self_component_port_output, bt_value, bt_message_array_const, - * bt_bool, bt_self_message_iterator + * bt_bool, bt_self_message_iterator, __BT_UPCAST */ #include @@ -128,7 +128,7 @@ static inline bt_component_class *bt_component_class_filter_as_component_class( bt_component_class_filter *comp_cls_filter) { - return (void *) comp_cls_filter; + return __BT_UPCAST(bt_component_class, comp_cls_filter); } extern