summaryrefslogtreecommitdiff
path: root/vm_insnhelper.c
diff options
context:
space:
mode:
authorNobuyoshi Nakada <[email protected]>2024-05-29 09:44:07 +0900
committerNobuyoshi Nakada <[email protected]>2024-05-29 14:06:25 +0900
commit1a31d38c564d14dc5ba0226b85c8adeed8b8f1a5 (patch)
tree98ab5b9baa7c6add26660c40b0fd1c74f75be2c4 /vm_insnhelper.c
parentd9d7ae7830370ff88b69aded2032b17c412fdaf3 (diff)
Cast to void pointer for -Wformat-pedantic
Diffstat (limited to 'vm_insnhelper.c')
-rw-r--r--vm_insnhelper.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/vm_insnhelper.c b/vm_insnhelper.c
index 1e1fcea120..70c73955e9 100644
--- a/vm_insnhelper.c
+++ b/vm_insnhelper.c
@@ -3008,7 +3008,7 @@ warn_unused_block(const rb_callable_method_entry_t *cme, const rb_iseq_t *iseq,
if (0) {
fprintf(stderr, "SIZEOF_VALUE:%d\n", SIZEOF_VALUE);
- fprintf(stderr, "pc:%p def:%p\n", pc, cme->def);
+ fprintf(stderr, "pc:%p def:%p\n", pc, (void *)cme->def);
fprintf(stderr, "key:%p\n", (void *)key);
}