From: Vinson Lee Date: Tue, 13 Oct 2009 00:05:05 +0000 (-0600) Subject: prog/tests: Fix MSVC build. X-Git-Tag: 062012170305~14801^2~370^2~165 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=89e747920f35f28d651ad89380f58250aab7c2d4;p=profile%2Fivi%2Fmesa.git prog/tests: Fix MSVC build. (cherry picked from commit 96fd13c1a024e3b6c0b1c44394c67c772e52b9c9) --- diff --git a/progs/tests/crossbar.c b/progs/tests/crossbar.c index 3dd2137..bd8e05a 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 ];