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:
reimar 2005-10-11 08:50:32 +00:00
parent ef74dd7f13
commit 9087410ec7
1 changed files with 1 additions and 1 deletions

View File

@ -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; }