diff options
-rw-r--r-- | orc/orcprogram.c | 2 |
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; } |