mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-28 23:13:18 +08:00
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:
+1
-1
@@ -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; }
|
||||
|
||||
Reference in New Issue
Block a user