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 parent
ef74dd7f13
commit
9087410ec7
1 file changed
+1
-1
+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