X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fcomponent-class-filter.h;h=2e8f472e6632c84c34763f9b851a64f0847a8a0e;hb=9f7a7546c45e7501e749d19ebad3a31b7d715ef6;hp=cf001bf8cd9d49d809814c1727fc54e4df2d9bad;hpb=06f6b99e7d38280531eb21f976c180c1b8e8534c;p=deliverable%2Fbabeltrace.git diff --git a/include/babeltrace/graph/component-class-filter.h b/include/babeltrace/graph/component-class-filter.h index cf001bf8c..2e8f472e6 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