X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=include%2Fbabeltrace%2Fgraph%2Fself-component-port-input.h;fp=include%2Fbabeltrace%2Fgraph%2Fself-component-port-input.h;h=b5b0aad12cea2d3f3c4722ce927f8f40e2c310ab;hb=0d72b8c329ad51d14ab4e83330b38c2c8da69dd4;hp=d25e114479890fd8077e9a04ec12c40b60a2c486;hpb=92fed4e1f98f18e4edbfdf5adfe57741a3260b5d;p=babeltrace.git diff --git a/include/babeltrace/graph/self-component-port-input.h b/include/babeltrace/graph/self-component-port-input.h index d25e1144..b5b0aad1 100644 --- a/include/babeltrace/graph/self-component-port-input.h +++ b/include/babeltrace/graph/self-component-port-input.h @@ -43,10 +43,10 @@ bt_self_component_port_input_as_self_component_port( } static inline -struct bt_port_input *bt_self_component_port_input_as_port_input( - struct bt_self_component_port_input *self_component_port) +const struct bt_port_input *bt_self_component_port_input_as_port_input( + const struct bt_self_component_port_input *self_component_port) { - return (void *) self_component_port; + return (const void *) self_component_port; } #ifdef __cplusplus