diff --git a/compiler2/ttcn3/TtcnTemplate.cc b/compiler2/ttcn3/TtcnTemplate.cc index 42ee4febdba1cf254f2d02b0ba2cda9d04eaf9aa..c507d3cc079535abc7ef5dedb3323a9c1d01f742 100644 --- a/compiler2/ttcn3/TtcnTemplate.cc +++ b/compiler2/ttcn3/TtcnTemplate.cc @@ -4121,7 +4121,7 @@ compile_time: const string& type_name = my_governor->get_genname_template(my_scope); const char *type_name_str = type_name.c_str(); - dynamic_array<int> variables; + dynamic_array<size_t> variables; size_t fixed_part = 0; for (size_t i = 0; i < nof_ts; ++i) { Template *t = u.templates->get_t_byIndex(i); @@ -4341,7 +4341,7 @@ compile_time: my_governor->get_ofType()->get_genname_template(my_scope); const char *oftype_name_str = oftype_name.c_str(); - dynamic_array<int> variables; + dynamic_array<size_t> variables; size_t fixed_part = 0; for (size_t i = 0; i < nof_ts; ++i) { Template *t = u.templates->get_t_byIndex(i);