From 3d951c3f5b8b1fabe3c380c529d043bd7212915d Mon Sep 17 00:00:00 2001 From: Camilla Berglund Date: Wed, 17 Nov 2010 14:40:17 +0100 Subject: [PATCH] Fixed sign mismatch. --- src/glext.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/glext.c b/src/glext.c index ff6f607c..fb245457 100644 --- a/src/glext.c +++ b/src/glext.c @@ -58,7 +58,7 @@ void _glfwParseGLVersion(int* major, int* minor, int* rev) if (!version) return; - if (strncmp(version, glesPrefix, strlen(glesPrefix)) == 0) + if (strncmp((const char*) version, glesPrefix, strlen(glesPrefix)) == 0) { // The version string on OpenGL ES has a prefix before the version // number, so we skip past it and then continue as normal