summary refs log tree commit diff
path: root/gmon/gmon.c
diff options
context:
space:
mode:
Diffstat (limited to 'gmon/gmon.c')
-rw-r--r--gmon/gmon.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmon/gmon.c b/gmon/gmon.c
index df528e259f..342801651f 100644
--- a/gmon/gmon.c
+++ b/gmon/gmon.c
@@ -199,12 +199,12 @@ moncontrol(mode)
 
 	if (mode) {
 		/* start */
-		profil((char *)p->kcount, p->kcountsize, (int)p->lowpc,
+		profil(p->kcount, p->kcountsize, (int)p->lowpc,
 		    s_scale);
 		p->state = GMON_PROF_ON;
 	} else {
 		/* stop */
-		profil((char *)0, 0, 0, 0);
+		profil(0, 0, 0, 0);
 		p->state = GMON_PROF_OFF;
 	}
 }