aboutsummaryrefslogtreecommitdiffstats
path: root/ext/dl/cptr.c
diff options
context:
space:
mode:
Diffstat (limited to 'ext/dl/cptr.c')
-rw-r--r--ext/dl/cptr.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/dl/cptr.c b/ext/dl/cptr.c
index b947ef27ef..abfd9e8d1c 100644
--- a/ext/dl/cptr.c
+++ b/ext/dl/cptr.c
@@ -418,7 +418,7 @@ VALUE
rb_dlptr_s_to_ptr(VALUE self, VALUE val)
{
if( rb_obj_is_kind_of(val, rb_cIO) == Qtrue ){
- OpenFile *fptr;
+ rb_io_t *fptr;
FILE *fp;
GetOpenFile(val, fptr);
#if RUBY_VERSION_CODE >= 190