diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-09 07:59:09 -0700 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2013-08-09 07:59:09 -0700 |
| commit | f6fa07235bad547cc35d54d878c7d3df6f9ccae9 (patch) | |
| tree | 55fa7bb3eb23b923b0cbfdb09e272e9bd13dec25 | |
| parent | 53f750dbed85bdf7342d5c4b1bc013c3169c15d6 (diff) | |
| parent | b3b4f2dbdb63d62352058e97c6a8ed5b2c0d7963 (diff) | |
| download | mruby-f6fa07235bad547cc35d54d878c7d3df6f9ccae9.tar.gz mruby-f6fa07235bad547cc35d54d878c7d3df6f9ccae9.zip | |
Merge pull request #1450 from Fleurer/cleanup-warninigs
clean up the warnings when GC_PROFILE is set
| -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) |
