1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

gc.c: suppress warnings

* gc.c (gc_before_sweep): use PRIuSIZE instead of "%zu" directly.

git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43094 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
nobu 2013-09-30 08:06:20 +00:00
parent 3eef1b54ef
commit 6a1a08c945

2
gc.c
View file

@ -2420,7 +2420,7 @@ gc_before_sweep(rb_objspace_t *objspace)
}
if (0) {
fprintf(stderr, "malloc_limit: %zu -> %zu\n", old_limit, malloc_limit);
fprintf(stderr, "malloc_limit: %"PRIuSIZE" -> %"PRIuSIZE"\n", old_limit, malloc_limit);
}
}
}