summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
Diffstat (limited to 'cont.c')
-rw-r--r--cont.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cont.c b/cont.c
index d7680faf5d..8ae7a4ec37 100644
--- a/cont.c
+++ b/cont.c
@@ -406,7 +406,7 @@ cont_free(void *ptr)
}
else {
/* fiber */
- const rb_fiber_t *fib = (rb_fiber_t*)cont;
+ rb_fiber_t *fib = (rb_fiber_t*)cont;
#if defined(FIBER_USE_COROUTINE)
coroutine_destroy(&fib->context);
if (fib->ss_sp != NULL) {