summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJonathan Rosser <jrosser@rd.bbc.co.uk>2012-12-03 13:08:27 -0800
committerDavid Schleef <ds@schleef.org>2012-12-03 13:08:48 -0800
commit6fb573d5c263d10e396076967b2953a76b9c7d1f (patch)
tree0e9365824ffb7d0738941030523ff6445f3678dd
parent8f6080fc9000af04f72290be072ee7a3704d3a2d (diff)
fix for more than one accumulator0.5
-rw-r--r--orc/orcprogram.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/orc/orcprogram.c b/orc/orcprogram.c
index b87d766..c28119b 100644
--- a/orc/orcprogram.c
+++ b/orc/orcprogram.c
@@ -636,7 +636,7 @@ orc_program_add_accumulator (OrcProgram * program, int size, const char *name)
program->vars[i].vartype = ORC_VAR_TYPE_ACCUMULATOR;
program->vars[i].size = size;
program->vars[i].name = strdup (name);
- program->n_param_vars++;
+ program->n_accum_vars++;
return i;
}