use "%zu"s for size_t

This commit is contained in:
Yuichi Nishiwaki 2014-06-22 20:09:38 +09:00
parent 4c38383d9b
commit 8c80b6ef5b
1 changed files with 4 additions and 4 deletions

View File

@ -1442,13 +1442,13 @@ pic_compile(pic_state *pic, pic_value obj)
size_t ai = pic_gc_arena_preserve(pic);
#if DEBUG
fprintf(stdout, "ai = %d\n", pic_gc_arena_preserve(pic));
fprintf(stdout, "ai = %zu\n", pic_gc_arena_preserve(pic));
fprintf(stdout, "# input expression\n");
pic_debug(pic, obj);
fprintf(stdout, "\n");
fprintf(stdout, "ai = %d\n", pic_gc_arena_preserve(pic));
fprintf(stdout, "ai = %zu\n", pic_gc_arena_preserve(pic));
#endif
/* macroexpand */
@ -1457,7 +1457,7 @@ pic_compile(pic_state *pic, pic_value obj)
fprintf(stdout, "## macroexpand completed\n");
pic_debug(pic, obj);
fprintf(stdout, "\n");
fprintf(stdout, "ai = %d\n", pic_gc_arena_preserve(pic));
fprintf(stdout, "ai = %zu\n", pic_gc_arena_preserve(pic));
#endif
/* analyze */
@ -1466,7 +1466,7 @@ pic_compile(pic_state *pic, pic_value obj)
fprintf(stdout, "## analyzer completed\n");
pic_debug(pic, obj);
fprintf(stdout, "\n");
fprintf(stdout, "ai = %d\n", pic_gc_arena_preserve(pic));
fprintf(stdout, "ai = %zu\n", pic_gc_arena_preserve(pic));
#endif
/* codegen */