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 896756723b5..585ba05c335 100644
--- a/ext/digest/rmd160/rmd160init.c
+++ b/ext/digest/rmd160/rmd160init.c
@@ -34,6 +34,6 @@ Init_rmd160()
id_metadata = rb_intern("metadata");
- rb_cvar_set(cDigest_RMD160, id_metadata,
- Data_Wrap_Struct(rb_cObject, 0, 0, &rmd160), Qtrue);
+ rb_ivar_set(cDigest_RMD160, id_metadata,
+ Data_Wrap_Struct(rb_cObject, 0, 0, &rmd160));
}