summaryrefslogtreecommitdiff
path: root/cont.c
diff options
context:
space:
mode:
authorkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-22 04:04:06 (GMT)
committerkazu <kazu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2018-08-22 04:04:06 (GMT)
commit84fd997fe6460e5fcccbae557e95068cf94cd55d (patch)
tree033171b77cdbf50683e12d0f0d54edc46413be4e /cont.c
parentd4313df0851e85a4bd3343b44932195953cbd6bf (diff)
Avoid compiler depend error
ref r64492 git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64503 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 408db21..0f68a99 100644
--- a/cont.c
+++ b/cont.c
@@ -175,7 +175,7 @@ struct rb_fiber_struct {
rb_context_t cont;
VALUE first_proc;
struct rb_fiber_struct *prev;
- BITFIELD(enum fiber_status) status : 2;
+ BITFIELD(enum fiber_status, status, 2);
/* If a fiber invokes "transfer",
* then this fiber can't "resume" any more after that.
* You shouldn't mix "transfer" and "resume".