summaryrefslogtreecommitdiff
path: root/proc.c
diff options
context:
space:
mode:
Diffstat (limited to 'proc.c')
-rw-r--r--proc.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/proc.c b/proc.c
index ed2e56369e..9fa47bddb5 100644
--- a/proc.c
+++ b/proc.c
@@ -2020,7 +2020,7 @@ method_namespace(VALUE obj)
if (!ns) return Qfalse;
if (ns->ns_object) return ns->ns_object;
// This should not happen
- rb_bug("Unexpected namespace on the method definition: %p", ns);
+ rb_bug("Unexpected namespace on the method definition: %p", (void*) ns);
return Qtrue;
}