X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=src%2Fctf-writer%2Ffield-path.c;fp=src%2Fctf-writer%2Ffield-path.c;h=7689a6d8f842a9f7a9e51e808989a5e40dd3919d;hb=d50d46f31cc000f03601eeaf8a0806a0c183c1d0;hp=2d71d79f46b50752456da8d7f8ad832b05b2f37f;hpb=c8a4375195b0ca586c43e5733dfc0266b4ba8a50;p=babeltrace.git diff --git a/src/ctf-writer/field-path.c b/src/ctf-writer/field-path.c index 2d71d79f..7689a6d8 100644 --- a/src/ctf-writer/field-path.c +++ b/src/ctf-writer/field-path.c @@ -147,7 +147,7 @@ int bt_ctf_field_path_get_index(const struct bt_ctf_field_path *field_path, goto end; } - ret = g_array_index(field_path->indexes, int, index); + ret = bt_g_array_index(field_path->indexes, int, index); end: return ret;