summaryrefslogtreecommitdiff
path: root/src/mesa/main/imports.c
diff options
context:
space:
mode:
authorBrian Paul <brian.paul@tungstengraphics.com>2003-02-08 15:56:34 +0000
committerBrian Paul <brian.paul@tungstengraphics.com>2003-02-08 15:56:34 +0000
commit92d79350743d6f8d52bf78f866d9ffe69da70d02 (patch)
tree0dd020d4d83ced76000d7d65369ed7ad7bd82cc2 /src/mesa/main/imports.c
parentb8e3eb95d079aaec8b1c4c5a7e67c612af0848f6 (diff)
replace _mesa_strtof() with _mesa_strtod()
Diffstat (limited to 'src/mesa/main/imports.c')
-rw-r--r--src/mesa/main/imports.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c
index 9816936f16..80bee830da 100644
--- a/src/mesa/main/imports.c
+++ b/src/mesa/main/imports.c
@@ -1,4 +1,4 @@
-/* $Id: imports.c,v 1.30 2003/01/19 15:27:38 brianp Exp $ */
+/* $Id: imports.c,v 1.31 2003/02/08 15:56:34 brianp Exp $ */
/*
* Mesa 3-D graphics library
@@ -378,13 +378,13 @@ _mesa_atoi(const char *s)
}
-float
-_mesa_strtof( const char *s, char **end )
+double
+_mesa_strtod( const char *s, char **end )
{
#if defined(XFree86LOADER) && defined(IN_MODULE)
- return xf86strtof(s, end);
+ return xf86strtod(s, end);
#else
- return (float) strtod(s, end);
+ return strtod(s, end);
#endif
}