diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 13:34:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2013-11-09 13:34:53 +0000 |
commit | 00dab76f20f7de04c4a2a54024c8608761c8773e (patch) | |
tree | e1256f2695d53e7f2efa5de7a2153aee09fdd279 /ext | |
parent | df86052a5d2170a2f693ad81781eea340e842e4d (diff) |
objspace_dump.c: fix declaration
* ext/objspace/objspace_dump.c (dump_output): fix declaration,
mkstemp() needs a writable buffer.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@43615 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/objspace/objspace_dump.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/objspace/objspace_dump.c b/ext/objspace/objspace_dump.c index 99fcd7e0df..7ee5e7c11a 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); |