Building with GCC10 results in the following error:
implicit conversion from 'enum bt_ctf_scope' to 'enum bt_field_path_scope' [-Werror=enum-conversion]
Change-Id: Id1144231f8439444696e4683dff2b0abf0d26d60
Signed-off-by: Michael Jeanson <mjeanson@efficios.com>
Reviewed-on: https://review.lttng.org/c/babeltrace/+/2851
Reviewed-by: Simon Marchi <simon.marchi@efficios.com>
Tested-by: jenkins <jenkins@lttng.org>
goto end;
}
- g_string_append_printf(str, "[%s", bt_common_scope_string(
+ g_string_append_printf(str, "[%s", bt_ctf_scope_string(
bt_ctf_field_path_get_root_scope(path)));
for (i = 0; i < bt_ctf_field_path_get_index_count(path); i++) {