diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-19 07:43:56 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-03-19 07:43:56 +0000 |
commit | 9cbc8abb7fe097b43feff64a42856521f6b418bc (patch) | |
tree | be772bbf28ca9a75a8dcbb14f76f7ad9566c6c6a /ext | |
parent | 66686f5775c550b28cf6ec0ec971971edbf6d348 (diff) |
* merge -c 12080
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/branches/ruby_1_8_5@12097 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r-- | ext/dl/dl.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/dl.c b/ext/dl/dl.c index 042afd3159..71c353bda3 100644 --- a/ext/dl/dl.c +++ b/ext/dl/dl.c @@ -459,7 +459,7 @@ rb_ary2cary(char t, VALUE v, long *size) VALUE val0; val0 = rb_check_array_type(v); - if(NIL_P(TYPE(val0))) { + if(NIL_P(val0)) { rb_raise(rb_eDLTypeError, "an array is expected."); } v = val0; |