[#18961] Use const char * where appropriate (2.5)
[blender-staging.git] / source / blender / makesrna / intern / makesrna.c
index ed57027d888e5515e93b807a0ef519522ed75b2c..2abddb0860a08ac20fb4c58843daebe66821becd 100644 (file)
@@ -2590,7 +2590,7 @@ static int rna_preprocess(char *outfile)
        return status;
 }
 
-static void mem_error_cb(char *errorStr)
+static void mem_error_cb(const char *errorStr)
 {
        fprintf(stderr, "%s", errorStr);
        fflush(stderr);