summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVinson Lee <vlee@freedesktop.org>2012-10-31 22:50:35 -0700
committerVinson Lee <vlee@freedesktop.org>2012-10-31 22:50:35 -0700
commitc6448c8228392afe654553809244e49d1cea7a2a (patch)
treef9d86b41d6ef9ff8396f0066962e0f7afca210e8
parentfeb75d80620a7c7eb068425dabb9bca6f0f0dd6f (diff)
crossbar: Replace strtof with strtod.
MSVC does not have strtof. Signed-off-by: Vinson Lee <vlee@freedesktop.org>
-rw-r--r--tests/texturing/crossbar.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/texturing/crossbar.c b/tests/texturing/crossbar.c
index 054dbf9a..6a095d72 100644
--- a/tests/texturing/crossbar.c
+++ b/tests/texturing/crossbar.c
@@ -162,7 +162,7 @@ void piglit_init(int argc, char **argv)
{
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 ];