X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fself-component-port-output.h;fp=include%2Fbabeltrace%2Fgraph%2Fself-component-port-output.h;h=23801ff20e12b49d73ecb800ee9cc1ae88d84c95;hb=0d72b8c329ad51d14ab4e83330b38c2c8da69dd4;hp=6857f3e84604a3245484688a6415c47866ca6bfe;hpb=92fed4e1f98f18e4edbfdf5adfe57741a3260b5d;p=babeltrace.git diff --git a/include/babeltrace/graph/self-component-port-output.h b/include/babeltrace/graph/self-component-port-output.h index 6857f3e8..23801ff2 100644 --- a/include/babeltrace/graph/self-component-port-output.h +++ b/include/babeltrace/graph/self-component-port-output.h @@ -43,10 +43,10 @@ bt_self_component_port_output_as_self_component_port( } static inline -struct bt_port_output *bt_self_component_port_output_as_port_output( +const struct bt_port_output *bt_self_component_port_output_as_port_output( struct bt_self_component_port_output *self_component_port) { - return (void *) self_component_port; + return (const void *) self_component_port; } #ifdef __cplusplus