summaryrefslogtreecommitdiff
path: root/ext/digest/rmd160/rmd160init.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/digest/rmd160/rmd160init.c')
-rw-r--r--ext/digest/rmd160/rmd160init.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/digest/rmd160/rmd160init.c b/ext/digest/rmd160/rmd160init.c
index 572638b..7c0c1a0 100644
--- a/ext/digest/rmd160/rmd160init.c
+++ b/ext/digest/rmd160/rmd160init.c
@@ -40,6 +40,6 @@ Init_rmd160(void)
#undef RUBY_UNTYPED_DATA_WARNING
#define RUBY_UNTYPED_DATA_WARNING 0
- rb_ivar_set(cDigest_RMD160, rb_intern("metadata"),
- Data_Wrap_Struct(0, 0, 0, (void *)&rmd160));
+ rb_iv_set(cDigest_RMD160, "metadata",
+ Data_Wrap_Struct(0, 0, 0, (void *)&rmd160));
}