diff --git a/vm.c b/vm.c index 5bd894d040..ca79a37b0e 100644 --- a/vm.c +++ b/vm.c @@ -1641,7 +1641,7 @@ get_param(const char *name, size_t default_value, size_t min_value) } result = (size_t)(((val -1 + RUBY_VM_SIZE_ALIGN) / RUBY_VM_SIZE_ALIGN) * RUBY_VM_SIZE_ALIGN); } - if (0) fprintf(stderr, "%s: %d\n", name, result); /* debug print */ + if (0) fprintf(stderr, "%s: %"PRIdSIZE"\n", name, result); /* debug print */ return result; }