Ensure correct types are passed to printf() when size_t != int.
This commit is contained in:
parent
cb0d7b62e5
commit
b6271bf13e
2
gc.c
2
gc.c
|
|
@ -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
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue