From: Vinson Lee Date: Tue, 13 Oct 2009 00:05:05 +0000 (-0600) Subject: prog/tests: Fix MSVC build. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=96fd13c1a024e3b6c0b1c44394c67c772e52b9c9;p=mesa.git prog/tests: Fix MSVC build. --- diff --git a/progs/tests/crossbar.c b/progs/tests/crossbar.c index 3dd21372f9a..bd8e05aee13 100644 --- a/progs/tests/crossbar.c +++ b/progs/tests/crossbar.c @@ -145,7 +145,7 @@ static void Init( void ) { const char * const ver_string = (const char * const) glGetString( GL_VERSION ); - float ver = strtof( ver_string, NULL ); + float ver = strtod( ver_string, NULL ); GLint tex_units; GLint temp[ 256 ];