diff options
-rw-r--r-- | subopt-helper.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; } |