From e1e446bf775a7f2ea93b4e54c7748ef603500977 Mon Sep 17 00:00:00 2001 From: Brian Paul Date: Tue, 14 Jan 2003 03:05:38 +0000 Subject: remove const from _mesa_strtof() --- src/mesa/main/imports.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/mesa/main/imports.c') diff --git a/src/mesa/main/imports.c b/src/mesa/main/imports.c index 4123545ee0..bb836dd832 100644 --- a/src/mesa/main/imports.c +++ b/src/mesa/main/imports.c @@ -1,4 +1,4 @@ -/* $Id: imports.c,v 1.28 2003/01/14 03:02:13 brianp Exp $ */ +/* $Id: imports.c,v 1.29 2003/01/14 03:05:38 brianp Exp $ */ /* * Mesa 3-D graphics library @@ -379,12 +379,12 @@ _mesa_atoi(const char *s) float -_mesa_strtof( const char *s, const char **end ) +_mesa_strtof( const char *s, char **end ) { #if defined(XFree86LOADER) && defined(IN_MODULE) return xf86strtof(s, end); #else - return strtod(s, end); + return (float) strtod(s, end); #endif } -- cgit v1.2.3