diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:11:35 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2009-09-09 02:11:35 +0000 |
commit | b46cd0e400ff278897908479acc9163419341b07 (patch) | |
tree | daab782e1f5e1f849b34fd1c11bd825c860f4c1a /random.c | |
parent | 85cc4ff62a95500ee748f9d5d987a0003d43b4e5 (diff) |
* include/ruby/ruby.h (rb_data_type_struct): constified dsize.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@24801 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'random.c')
-rw-r--r-- | random.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -315,7 +315,7 @@ random_mark(void *ptr) #define random_free RUBY_TYPED_DEFAULT_FREE static size_t -random_memsize(void *ptr) +random_memsize(const void *ptr) { return ptr ? sizeof(rb_random_t) : 0; } |