X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-class-filter.h;h=2e8f472e6632c84c34763f9b851a64f0847a8a0e;hb=8470daa9621083d091cb52af01eb17f35a0978b6;hp=cf001bf8cd9d49d809814c1727fc54e4df2d9bad;hpb=72b0443813701fc9fb23cb23684a9c8bee4667a7;p=babeltrace.git 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