summaryrefslogtreecommitdiffstats
path: root/progs/tests
diff options
context:
space:
mode:
authorVinson Lee <[email protected]>2009-10-12 18:05:05 -0600
committerBrian Paul <[email protected]>2009-10-12 18:05:23 -0600
commit96fd13c1a024e3b6c0b1c44394c67c772e52b9c9 (patch)
tree938d8a6934fedff9455007c0f2162f12bc5ba0fd /progs/tests
parent6c1cd4c55856dc7d36406de21a0fb5f567fcd36f (diff)
prog/tests: Fix MSVC build.
Diffstat (limited to 'progs/tests')
-rw-r--r--progs/tests/crossbar.c2
1 files changed, 1 insertions, 1 deletions
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 ];