diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dl/cptr.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/cptr.c b/ext/dl/cptr.c index 11ecf6f81d..8ae1829efa 100644 --- a/ext/dl/cptr.c +++ b/ext/dl/cptr.c @@ -388,7 +388,7 @@ rb_dlptr_inspect(VALUE self) char str[1024]; TypedData_Get_Struct(self, struct ptr_data, &dlptr_data_type, data); - snprintf(str, 1023, "#<%s:%p ptr=%#lx size=%ld free=%#lx>", + snprintf(str, 1023, "#<%s:%p ptr=%p size=%ld free=%p>", rb_class2name(CLASS_OF(self)), data, data->ptr, data->size, data->free); return rb_str_new2(str); } |