[Piglit] [PATCH 7/7] Fix a compiler warning from a khronos prototype change.

Eric Anholt eric at anholt.net
Mon Feb 24 11:41:14 PST 2014


---
 tests/spec/arb_debug_output/api_error.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/spec/arb_debug_output/api_error.c b/tests/spec/arb_debug_output/api_error.c
index 8f00b1c..5e2bddc 100644
--- a/tests/spec/arb_debug_output/api_error.c
+++ b/tests/spec/arb_debug_output/api_error.c
@@ -49,7 +49,7 @@ static void GLAPIENTRY debug_callback(GLenum source,
                                       GLenum severity,
                                       GLsizei length,
                                       const GLchar* message,
-                                      GLvoid* userParam)
+                                      const GLvoid* userParam)
 {
    if (source != GL_DEBUG_SOURCE_API_ARB) {
       puts("source isn't API");
-- 
1.9.rc1



More information about the Piglit mailing list