summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2010-04-15 09:15:40 -0700
committerEric Anholt <eric@anholt.net>2010-04-15 09:15:40 -0700
commit64706fe5287a2700691c294844ed9ece40c5409a (patch)
tree81f6deb2c0a887a25288d37dc20332d2a6b4c62f
parent6cc75525c1cee5ad1cb41a277329f593e0dfb081 (diff)
Fix warning in compile_shader().
-rw-r--r--tests/util/piglit-util.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/util/piglit-util.c b/tests/util/piglit-util.c
index 4c5d86543..e33212492 100644
--- a/tests/util/piglit-util.c
+++ b/tests/util/piglit-util.c
@@ -435,7 +435,7 @@ piglit_compile_shader(GLenum target, char *filename)
static GLuint
compile_shader(GLuint prog, GLenum target)
{
- GLenum ok;
+ GLint ok;
glCompileShader(prog);