diff options
| author | fleuria <[email protected]> | 2013-08-09 17:38:09 +0800 |
|---|---|---|
| committer | fleuria <[email protected]> | 2013-08-09 17:38:09 +0800 |
| commit | b3b4f2dbdb63d62352058e97c6a8ed5b2c0d7963 (patch) | |
| tree | e55a066018270ce5a4e1bc0791cae6a4a8e637fc | |
| parent | 3d3ca985b016afa7d07b59a067a661ce47b221ba (diff) | |
| download | mruby-b3b4f2dbdb63d62352058e97c6a8ed5b2c0d7963.tar.gz mruby-b3b4f2dbdb63d62352058e97c6a8ed5b2c0d7963.zip | |
clean up the warnings when GC_PROFILE is on
| -rw-r--r-- | src/gc.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -147,9 +147,9 @@ gettimeofday_time(void) gc_time = gettimeofday_time() - gc_time;\ gc_total_time += gc_time;\ fprintf(stderr, "gc_state: %d\n", mrb->gc_state);\ - fprintf(stderr, "live: %d\n", mrb->live);\ - fprintf(stderr, "majorgc_old_threshold: %d\n", mrb->majorgc_old_threshold);\ - fprintf(stderr, "gc_threshold: %d\n", mrb->gc_threshold);\ + fprintf(stderr, "live: %zu\n", mrb->live);\ + fprintf(stderr, "majorgc_old_threshold: %zu\n", mrb->majorgc_old_threshold);\ + fprintf(stderr, "gc_threshold: %zu\n", mrb->gc_threshold);\ fprintf(stderr, "gc_time: %30.20f\n", gc_time);\ fprintf(stderr, "gc_total_time: %30.20f\n\n", gc_total_time);\ } while(0) |
