diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-14 06:19:57 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2010-08-14 06:19:57 +0000 |
commit | a23b1f745038f93e5cd2542fbf17b363686ccfd7 (patch) | |
tree | b0374fe6ad0ab3b1d497fff760ae1a13e91508e6 /io.c | |
parent | a979eb4548bf8b8d7479ba83e4a2f25f77175f4d (diff) | |
download | ruby-a23b1f745038f93e5cd2542fbf17b363686ccfd7.tar.gz |
* io.c (rb_io_memsize): constified.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@28981 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'io.c')
-rw-r--r-- | io.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3536,7 +3536,7 @@ rb_io_fptr_finalize(rb_io_t *fptr) size_t rb_econv_memsize(rb_econv_t *); size_t -rb_io_memsize(rb_io_t *fptr) +rb_io_memsize(const rb_io_t *fptr) { size_t size = sizeof(rb_io_t); size += fptr->rbuf_capa; |