diff options
Diffstat (limited to 'gprof/cg_print.c')
-rw-r--r-- | gprof/cg_print.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/cg_print.c b/gprof/cg_print.c index ce8cbc4..104d049 100644 --- a/gprof/cg_print.c +++ b/gprof/cg_print.c @@ -76,7 +76,7 @@ print_header () } printf (_("\ngranularity: each sample hit covers %ld byte(s)"), - (long) hist_scale * sizeof (UNIT)); + (long) hist_scale * (long) sizeof (UNIT)); if (print_time > 0.0) printf (_(" for %.2f%% of %.2f seconds\n\n"), |