# HG changeset patch # User reimar # Date 1129020632 0 # Node ID 2a7220c457a7fab222291af3b74ccfe9b62dddfa # Parent dcdc85f69287bf539b9204f20da94ee2a136a401 1l, strtof is only C99, strtod is ANSI C, so use that instead. diff -r dcdc85f69287 -r 2a7220c457a7 subopt-helper.c --- a/subopt-helper.c Tue Oct 11 04:37:38 2005 +0000 +++ b/subopt-helper.c Tue Oct 11 08:50:32 2005 +0000 @@ -258,7 +258,7 @@ assert( str && "parse_float(): str == NULL" ); - *valp = strtof( str, &endp ); + *valp = strtod( str, &endp ); /* nothing was converted */ if ( str == endp ) { return NULL; }