summaryrefslogtreecommitdiffstats
path: root/subopt-helper.c
diff options
context:
space:
mode:
authorreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-10-11 08:50:32 +0000
committerreimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2>2005-10-11 08:50:32 +0000
commit9087410ec7c5e4dfcb4591b8a11df08b3d2b97bd (patch)
tree05d320ea5ec7679b007e07538c41718f2faa143a /subopt-helper.c
parentef74dd7f131485532f1ad341ca797726b28d059a (diff)
downloadmpv-9087410ec7c5e4dfcb4591b8a11df08b3d2b97bd.tar.bz2
mpv-9087410ec7c5e4dfcb4591b8a11df08b3d2b97bd.tar.xz
1l, strtof is only C99, strtod is ANSI C, so use that instead.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@16726 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 9a7332dc13..32cf883b09 100644
--- a/subopt-helper.c
+++ b/subopt-helper.c
@@ -258,7 +258,7 @@ static char const * parse_float( char const * const str, float * const valp )
assert( str && "parse_float(): str == NULL" );
- *valp = strtof( str, &endp );
+ *valp = strtod( str, &endp );
/* nothing was converted */
if ( str == endp ) { return NULL; }