prog/tests: Fix MSVC build.
authorVinson Lee <vlee@vmware.com>
Fri, 16 Oct 2009 10:36:09 +0000 (11:36 +0100)
committerVinson Lee <vlee@vmware.com>
Thu, 3 Dec 2009 23:24:43 +0000 (15:24 -0800)
(cherry picked from commit 60b6c7458319ff01ecdd9d1650d526ac8f75e194)

progs/tests/invert.c

index 63099fb..3bc97a4 100644 (file)
@@ -128,7 +128,7 @@ static void Init( void )
 {
    const char * const ver_string = (const char * const)
        glGetString( GL_VERSION );
-   const float ver = strtof( ver_string, NULL );
+   const float ver = strtod( ver_string, NULL );
 
 
    printf("GL_RENDERER = %s\n", (char *) glGetString(GL_RENDERER));