Add support for building on a 64-bit Windows host.

This commit is contained in:
Nick Clifton
2007-07-12 07:16:41 +00:00
parent db42c6e8ee
commit d2df793a71
20 changed files with 575 additions and 50 deletions

View File

@ -1,3 +1,8 @@
2007-07-12 Kai Tietz <kai.tietz@onevision.com>
* cg_print.c: Force cast of sizeof to be a long.
* hist.c: Likewise.
2007-07-06 Nick Clifton <nickc@redhat.com>
* basic_blocks.c: Update copyright notice to refer to GPLv3.

View File

@ -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"),

View File

@ -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"),