mirror of
https://github.com/gnustep/libs-gsweb.git
synced 2025-02-21 02:41:04 +00:00
* GSWAdaptors/common/GSWStats.c (GSWStats_formatStats):
Use standard strtod instead of the GNU extension strtof which is stored in a double anyway. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gsweb/trunk@21184 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
4d46d6855e
commit
807d776789
2 changed files with 7 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2005-05-03 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* GSWAdaptors/common/GSWStats.c (GSWStats_formatStats):
|
||||
Use standard strtod instead of the GNU extension strtof
|
||||
which is stored in a double anyway.
|
||||
|
||||
2005-05-02 David Ayers <d.ayers@inode.at>
|
||||
|
||||
* GNUmakefile, Examples/hello/GNUmakefile,
|
||||
|
|
|
@ -88,7 +88,7 @@ char* GSWStats_formatStats(GSWTimeStats *p_pStats,
|
|||
{
|
||||
int aLen=0;
|
||||
char* endPtr=NULL;
|
||||
double val=strtof(++p,&endPtr);
|
||||
double val=strtod(++p,&endPtr);
|
||||
val=baseFloatSec+val;
|
||||
p=endPtr+1;
|
||||
sprintf(floatBuffer,"%0.3f",val);
|
||||
|
|
Loading…
Reference in a new issue