summaryrefslogtreecommitdiff
path: root/gc.h
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-05 22:39:08 +0900
committerNobuyoshi Nakada <nobu@ruby-lang.org>2022-07-10 13:03:22 +0900
commit51025a901309eefa8ae81ff386bd078f14707b70 (patch)
tree7e5b5fb51da61c11c7c13d12f68cb54170ded38c /gc.h
parentfbe3651466c2b552e19fe8fae73dfc18278433d9 (diff)
Use `size_t` for `rb_raw_obj_info`
Notes
Notes: Merged: https://github.com/ruby/ruby/pull/6092
Diffstat (limited to 'gc.h')
-rw-r--r--gc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/gc.h b/gc.h
index 84c8eade63..a1f6e6e49d 100644
--- a/gc.h
+++ b/gc.h
@@ -112,7 +112,7 @@ int ruby_get_stack_grow_direction(volatile VALUE *addr);
#define IS_STACK_DIR_UPPER() STACK_DIR_UPPER(1,0)
const char *rb_obj_info(VALUE obj);
-const char *rb_raw_obj_info(char *buff, const int buff_size, VALUE obj);
+const char *rb_raw_obj_info(char *const buff, const size_t buff_size, VALUE obj);
VALUE rb_gc_disable_no_rest(void);