From 3a9b3b37dc4490aea2cda71d8f9f5522d371bf63 Mon Sep 17 00:00:00 2001 From: Kristof Szabados <Kristof.Szabados@ericsson.com> Date: Sun, 27 Nov 2016 13:46:05 +0100 Subject: [PATCH] variables can store size_t Signed-off-by: Kristof Szabados <Kristof.Szabados@ericsson.com> --- compiler2/ttcn3/TtcnTemplate.cc | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/compiler2/ttcn3/TtcnTemplate.cc b/compiler2/ttcn3/TtcnTemplate.cc index 42ee4febd..c507d3cc0 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); -- GitLab