More log profiler portability and warning fixes.
[mono.git] / mono / profiler / proflog.c
index f19027e9cb5e55721b40b85c9b7c1047cdcd089e..d8c8e584359b42f5ae9f773c44b58d90ec3c1c4f 100644 (file)
@@ -12,7 +12,6 @@
 #include <mono/metadata/mono-gc.h>
 #include <mono/metadata/debug-helpers.h>
 #include <stdlib.h>
-#include <inttypes.h>
 #include <string.h>
 #if defined (HAVE_ZLIB)
 #include <zlib.h>
@@ -873,7 +872,7 @@ log_shutdown (MonoProfiler *prof)
 }
 
 static MonoProfiler*
-create_profiler (char *filename)
+create_profiler (const char *filename)
 {
        MonoProfiler *prof;
        prof = calloc (1, sizeof (MonoProfiler));