summaryrefslogtreecommitdiffstats
path: root/subopt-helper.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-22 12:49:11 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-01-22 12:49:11 +0000
commitcd4875f414ba01cce09c2c3e140a23f4762aa927 (patch)
tree1409925cfca843779bc97e73ee7ea00238bda509 /subopt-helper.c
parent7111eacce708c830e229bea986d2b7ea24d7356e (diff)
downloadmpv-cd4875f414ba01cce09c2c3e140a23f4762aa927.tar.bz2
mpv-cd4875f414ba01cce09c2c3e140a23f4762aa927.tar.xz
100l, missing () around *valp
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@14573 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'subopt-helper.c')
-rw-r--r--subopt-helper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/subopt-helper.c b/subopt-helper.c
index 1ffd5fe746..de103e1126 100644
--- a/subopt-helper.c
+++ b/subopt-helper.c
@@ -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;
}