summaryrefslogtreecommitdiff
path: root/ext/objspace/objspace_dump.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/objspace/objspace_dump.c')
-rw-r--r--ext/objspace/objspace_dump.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c
index 99fcd7e0df3..7ee5e7c11a2 100644
--- a/ext/objspace/objspace_dump.c
+++ b/ext/objspace/objspace_dump.c
@@ -294,7 +294,7 @@ root_obj_i(const char *category, VALUE obj, void *data)
#define dump_output(dc, opts, output, filename) dump_output(dc, opts, output)
#endif
static VALUE
-dump_output(struct dump_config *dc, VALUE opts, VALUE output, const char *filename)
+dump_output(struct dump_config *dc, VALUE opts, VALUE output, char *filename)
{
if (RTEST(opts))
output = rb_hash_aref(opts, sym_output);