changeset 16725:2a7220c457a7

1l, strtof is only C99, strtod is ANSI C, so use that instead.
author reimar
date Tue, 11 Oct 2005 08:50:32 +0000
parents dcdc85f69287
children 880739620241
files subopt-helper.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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; }