0024312: Compilation issues on OS X 10.9 Maverics SDK
[occt.git] / src / OpenGl / OpenGl_Context.cxx
index c321fb5..cbd3f88 100644 (file)
@@ -596,7 +596,7 @@ static void APIENTRY debugCallbackWrap(unsigned int theSource,
                                        unsigned int theSeverity,
                                        int          /*theLength*/,
                                        const char*  theMessage,
-                                       void*        theUserParam)
+                                       const void*  theUserParam)
 {
   OpenGl_Context* aCtx = (OpenGl_Context* )theUserParam;
   aCtx->PushMessage (theSource, theType, theId, theSeverity, theMessage);