100l, missing () around *valp

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14573 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2005-01-22 12:49:11 +00:00
parent 7111eacce7
commit cd4875f414
1 changed files with 1 additions and 1 deletions

View File

@ -158,7 +158,7 @@ int subopt_parse( char const * const str, opt_t * opts )
if (tmp.str && tmp.len > 0) {
*valp = malloc(tmp.len + 1);
memcpy(*valp, tmp.str, tmp.len);
*valp[tmp.len] = 0;
(*valp)[tmp.len] = 0;
}
break;
}