Add support for building on a 64-bit Windows host.
[deliverable/binutils-gdb.git] / gprof / cg_print.c
index ce8cbc417f6cfc87251e2f2c30625fa3f0704a22..104d0499ec67f8899321ecda4953f294b478fea5 100644 (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"),
This page took 0.024499 seconds and 4 git commands to generate.