diff options
author | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-31 12:10:08 +0000 |
---|---|---|
committer | usa <usa@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-08-31 12:10:08 +0000 |
commit | 7d7b486ae7a89cb0088e7fddaab5160ada78ddab (patch) | |
tree | fa17612ac37b3c3dedf4d03a45eefba4226c5b6b /object.c | |
parent | 1fe7650935eb11b44037ef69bf435cda9dffa5e3 (diff) | |
download | ruby-7d7b486ae7a89cb0088e7fddaab5160ada78ddab.tar.gz ruby-7d7b486ae7a89cb0088e7fddaab5160ada78ddab.tar.xz ruby-7d7b486ae7a89cb0088e7fddaab5160ada78ddab.zip |
* eval.c (search_required): use RSTRING_PTR and RSTRING_STR.
* object.c (nil_plus): ditto.
* ext/dl/cptr.c (rb_dlptr_s_to_ptr): ditto.
* ext/openssl/ossl_x509ext.c (ossl_x509extfactory_create_ext): ditto.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10813 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'object.c')
-rw-r--r-- | object.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -729,7 +729,7 @@ nil_plus(VALUE x, VALUE y) return y; default: rb_raise(rb_eTypeError, "tried to add %s(%s) to nil", - RSTRING(rb_inspect(y))->ptr, + RSTRING_PTR(rb_inspect(y)), rb_obj_classname(y)); } /* not reached */ |