Ensure correct types are passed to printf() when size_t != int.

This commit is contained in:
Jesse D. McDonald 2011-03-27 17:45:09 -05:00
parent cb0d7b62e5
commit b6271bf13e
1 changed files with 1 additions and 1 deletions

2
gc.c
View File

@ -1694,7 +1694,7 @@ void fprint_gc_stats(FILE *f)
ns2sec(gc_stats.gen[1].max_ns)); ns2sec(gc_stats.gen[1].max_ns));
fprintf(f, "GC: The Gen-1 soft-limit peaked at %d bytes out of %d allocated.\n", fprintf(f, "GC: The Gen-1 soft-limit peaked at %d bytes out of %d allocated.\n",
gc_stats.gen1_high_water, gc_gen1_max_size); (int)gc_stats.gen1_high_water, (int)gc_gen1_max_size);
} }
else else
{ {