- for (i = 0; i < bt_value_array_get_size(
- bt_private_value_as_value(run_args)); i++) {
- struct bt_value *arg_value =
- bt_value_array_borrow_element_by_index(
- bt_private_value_as_value(run_args),
- i);
+ for (i = 0; i < bt_value_array_get_size(run_args); i++) {
+ const struct bt_value *arg_value =
+ bt_value_array_borrow_element_by_index(run_args,
+ i);