From 9087410ec7c5e4dfcb4591b8a11df08b3d2b97bd Mon Sep 17 00:00:00 2001 From: reimar Date: Tue, 11 Oct 2005 08:50:32 +0000 Subject: [PATCH] 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 --- subopt-helper.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; }