OSDN Git Service

prog/tests: Fix MSVC build.
authorVinson Lee <vlee@vmware.com>
Fri, 16 Oct 2009 10:36:09 +0000 (11:36 +0100)
committerJosé Fonseca <jfonseca@vmware.com>
Fri, 16 Oct 2009 10:36:09 +0000 (11:36 +0100)
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));