getword(), fix lvalue

This commit is contained in:
rlar 2016-05-06 19:41:12 +02:00
parent 2514664f7a
commit 52ec0a262c
1 changed files with 1 additions and 1 deletions

View File

@ -1324,7 +1324,7 @@ getword(const char * const s, SPICE_DSTRINGPTR tstr_p, const char **pi)
iptr = *pi;
const char *ls_ptr;
(ls_ptr - s) = (int) strlen(s);
ls_ptr = s + (int) strlen(s);
do
iptr++;