nupa_subcktcall(), fix lvalue

This commit is contained in:
rlar 2016-05-16 11:55:06 +02:00
parent ec9636e078
commit 70cec5e9e3
1 changed files with 1 additions and 1 deletions

View File

@ -1579,7 +1579,7 @@ nupa_subcktcall(dico_t *dico, char *s, char * const x, char * const inst_name)
int j0 = 0;
char * const t_p = spice_dstring_value(&tstr);
const int (ls_ptr - t_p) = spice_dstring_length(&tstr);
char * const ls_ptr = t_p + spice_dstring_length(&tstr);
spice_dstring_init(&parsebuf);
scopyd(&parsebuf, &tstr);