X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fself-component-source.h;fp=include%2Fbabeltrace%2Fgraph%2Fself-component-source.h;h=c7e644d0098f927596cf166539e40c22af4a15a2;hb=0d72b8c329ad51d14ab4e83330b38c2c8da69dd4;hp=95ccdb7a9ad45c787cdfaf7c015ffd7a238a2bc6;hpb=92fed4e1f98f18e4edbfdf5adfe57741a3260b5d;p=babeltrace.git diff --git a/include/babeltrace/graph/self-component-source.h b/include/babeltrace/graph/self-component-source.h index 95ccdb7a..c7e644d0 100644 --- a/include/babeltrace/graph/self-component-source.h +++ b/include/babeltrace/graph/self-component-source.h @@ -45,11 +45,11 @@ struct bt_self_component *bt_self_component_source_as_self_component( } static inline -struct bt_component_source * +const struct bt_component_source * bt_self_component_source_as_component_source( struct bt_self_component_source *self_comp_source) { - return (void *) self_comp_source; + return (const void *) self_comp_source; } extern struct bt_self_component_port_output *