mirror of https://github.com/mpv-player/mpv
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
This commit is contained in:
parent
ef74dd7f13
commit
9087410ec7
|
@ -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; }
|
||||
|
|
Loading…
Reference in New Issue