some const fixes and type fixes found by gcc -combine
[xonotic/darkplaces.git] / csprogs.c
index cfc47d6..39dbc6f 100644 (file)
--- a/csprogs.c
+++ b/csprogs.c
@@ -415,7 +415,7 @@ void CL_VM_Parse_CenterPrint (const char *msg)
        int restorevm_tempstringsbuf_cursize;
        if(!cl.csqc_loaded)
        {
-               SCR_CenterPrint((char*)msg);
+               SCR_CenterPrint(msg);
                return;
        }
        CSQC_BEGIN
@@ -429,7 +429,7 @@ void CL_VM_Parse_CenterPrint (const char *msg)
                vm_tempstringsbuf.cursize = restorevm_tempstringsbuf_cursize;
        }
        else
-               SCR_CenterPrint((char*)msg);
+               SCR_CenterPrint(msg);
        CSQC_END
 }