From: Jérémie Astor Date: Mon, 14 Sep 2020 09:41:54 +0000 (+0200) Subject: :art: Fix template_size X-Git-Tag: nightly~1323 X-Git-Url: http://10.10.0.4:5575/?a=commitdiff_plain;h=9aa7c4432df2371b273e0664e55d7267c6e86f63;p=gwion.git :art: Fix template_size --- diff --git a/src/lib/object_op.c b/src/lib/object_op.c index c187b10c..623d90ee 100644 --- a/src/lib/object_op.c +++ b/src/lib/object_op.c @@ -300,7 +300,7 @@ ANN static ssize_t template_size(const Env env, struct tmpl_info* info) { size += tmpl_set(info, t); } while((call = call->next) && (base = base->next) && ++size); size += tmpl_set(info, info->cdef->base.type); - return size + 16 + 3; + return size + 4; } ANN static inline m_str tmpl_get(struct tmpl_info* info, m_str str) {