diff options
Diffstat (limited to 'ext')
-rw-r--r-- | ext/win32ole/win32ole.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/win32ole/win32ole.c b/ext/win32ole/win32ole.c index 5015dde27d..9d0b1b0431 100644 --- a/ext/win32ole/win32ole.c +++ b/ext/win32ole/win32ole.c @@ -3996,11 +3996,11 @@ Init_win32ole(void) message_filter.RetryRejectedCall = mf_RetryRejectedCall; message_filter.MessagePending = mf_MessagePending; - enc2cp_hash = TypedData_Wrap_Struct(rb_cData, &win32ole_hash_datatype, 0); + enc2cp_hash = TypedData_Wrap_Struct(0, &win32ole_hash_datatype, 0); RTYPEDDATA_DATA(enc2cp_hash) = st_init_numtable(); rb_gc_register_mark_object(enc2cp_hash); - com_hash = TypedData_Wrap_Struct(rb_cData, &win32ole_hash_datatype, 0); + com_hash = TypedData_Wrap_Struct(0, &win32ole_hash_datatype, 0); RTYPEDDATA_DATA(com_hash) = st_init_numtable(); rb_gc_register_mark_object(com_hash); |