summaryrefslogtreecommitdiff
path: root/gprof/cg_print.c
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2007-07-12 07:16:41 +0000
committerNick Clifton <nickc@redhat.com>2007-07-12 07:16:41 +0000
commitd2df793a7137120047017593d26669e5092e3841 (patch)
tree691f20fd53ad1cb970387e3a5f434824cb1fb2fe /gprof/cg_print.c
parentdb42c6e8ee92965ca26f4ccf2183d26a8c560931 (diff)
Add support for building on a 64-bit Windows host.
Diffstat (limited to 'gprof/cg_print.c')
-rw-r--r--gprof/cg_print.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/cg_print.c b/gprof/cg_print.c
index ce8cbc417f..104d0499ec 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"),