summaryrefslogtreecommitdiff
path: root/random.c
diff options
context:
space:
mode:
Diffstat (limited to 'random.c')
-rw-r--r--random.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/random.c b/random.c
index fed85e0..99e309d 100644
--- a/random.c
+++ b/random.c
@@ -491,6 +491,8 @@ fill_random_bytes(void *seed, size_t size)
}
else {
if (!old_prov) {
+# undef RUBY_UNTYPED_DATA_WARNING
+# define RUBY_UNTYPED_DATA_WARNING 0
rb_gc_register_mark_object(Data_Wrap_Struct(0, 0, release_crypt, &prov));
}
else {