(moncontrol): Don't cast buffer arg to profil.
authorroland <roland>
Wed, 27 Sep 1995 14:05:48 +0000 (14:05 +0000)
committerroland <roland>
Wed, 27 Sep 1995 14:05:48 +0000 (14:05 +0000)
gmon/gmon.c

index df528e2..3428016 100644 (file)
@@ -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;
        }
 }