Quiet constness warnings about string constants passed to REGISTER_LANGUAGE.
[charm.git] / src / conv-perf / traceCoreCommon.C
index 53b3949a1dce91133bc157c740bcc941b6453a0f..fb8d757fda292145820e33d2d770ee64a292b5e5 100644 (file)
@@ -79,7 +79,7 @@ extern "C" void endTraceCore(void) {}
 /* Tracing API 
  * Implementation of functions declared in traceCoreAPI.h 
  *****************************************************************/
-extern "C" void RegisterLanguage(int lID, char* ln)
+extern "C" void RegisterLanguage(int lID, const char* ln)
 { LOGCONDITIONAL(CpvAccess(_traceCore)->RegisterLanguage(lID, ln)); }
 
 extern "C" void RegisterEvent(int lID, int eID)