diff options
author | Nick Clifton <nickc@redhat.com> | 2007-07-12 07:16:41 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-07-12 07:16:41 +0000 |
commit | 4e806c44af7a4f7330e12e6c02f09296800ea26c (patch) | |
tree | 5253939ea1f466acbddc18f499225b8b2d0a219a /gprof/hist.c | |
parent | da55305a77aabc425d0925285aada11a2129fa23 (diff) | |
download | binutils-redhat-4e806c44af7a4f7330e12e6c02f09296800ea26c.tar.gz |
Add support for building on a 64-bit Windows host.
Diffstat (limited to 'gprof/hist.c')
-rw-r--r-- | gprof/hist.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gprof/hist.c b/gprof/hist.c index aa3f7efd43..0b86c03dee 100644 --- a/gprof/hist.c +++ b/gprof/hist.c @@ -464,7 +464,7 @@ print_header (int prefix) if (bsd_style_output) { printf (_("\ngranularity: each sample hit covers %ld byte(s)"), - (long) hist_scale * sizeof (UNIT)); + (long) hist_scale * (long) sizeof (UNIT)); if (total_time > 0.0) { printf (_(" for %.2f%% of %.2f %s\n\n"), |