mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
vm.c: fix format
* vm.c (get_param): fix format specifier for size_t. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@38484 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
30fbc5591d
commit
3ec171510e
1 changed files with 1 additions and 1 deletions
2
vm.c
2
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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue