summaryrefslogtreecommitdiff
path: root/ext
diff options
context:
space:
mode:
authorttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-04 11:29:56 +0000
committerttate <ttate@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-04-04 11:29:56 +0000
commit5f8d02cbbc1686390d6965adfa12100ddd586109 (patch)
treee96a4ff37c51410cc427b23c4df01960c25bbe93 /ext
parent556556e450b2864c07c22ffa0370262c76d8ff1c (diff)
DLSTR(argv[i]) => DLSTR(RSTRING(argv[i])->ptr)
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2337 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'ext')
-rw-r--r--ext/dl/sym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/sym.c b/ext/dl/sym.c
index aab581b543..137b47525a 100644
--- a/ext/dl/sym.c
+++ b/ext/dl/sym.c
@@ -412,7 +412,7 @@ rb_dlsym_call(int argc, VALUE argv[], VALUE self)
if( TYPE(argv[i]) != T_STRING ){
raise(rb_eDLError, "#%d must be a string",i);
};
- ANY2S(args[i]) = DLSTR(argv[i]);
+ ANY2S(args[i]) = DLSTR(RSTRING(argv[i])->ptr);
};
PUSH_P(ftype);
break;