File Go-OpenGL-fixes.patch of Package go-Go-OpenGL

diff -u a/gl/gl.go b/gl/gl.go
--- a/gl/gl.go	2011-06-17 11:02:07.000000000 +0200
+++ b/gl/gl.go	2011-06-25 13:20:17.686950974 +0200
@@ -134,7 +134,7 @@
 	C.glGetShaderiv(C.GLuint(shader), C.GLenum(SHADER_SOURCE_LENGTH), &len)
 
 	log := C.malloc(C.size_t(len + 1))
-	C.glGetShaderSource(C.GLuint(shader), C.GLsizei(len), nil, (*C.GLchar)(log))
+	C.glGetShaderSource(C.GLint(shader), C.GLsizei(len), nil, (*C.GLchar)(log))
 
 	defer C.free(log)