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

Eric Anholt eric at anholt.net
Tue Jan 28 18:53:01 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.8.5.3



More information about the Piglit mailing list