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:
parent
3eef1b54ef
commit
6a1a08c945
1 changed files with 1 additions and 1 deletions
2
gc.c
2
gc.c
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue