summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorHiroshi Mimaki <[email protected]>2019-10-23 15:44:21 +0900
committerHiroshi Mimaki <[email protected]>2019-10-23 15:44:21 +0900
commit4eb8fca14008222ad3f835c29678fa11ad2c06b5 (patch)
treefd05103a2e73accd33f28c4c48721f9a06b1cc59 /include
parent4c91adc4b209163f4609e308bf773c6833513b55 (diff)
parentfa85f91e0e3ebff7b2626bfcf550821445c064d7 (diff)
downloadmruby-4eb8fca14008222ad3f835c29678fa11ad2c06b5.tar.gz
mruby-4eb8fca14008222ad3f835c29678fa11ad2c06b5.zip
Merge branch 'master' into stable
Diffstat (limited to 'include')
-rw-r--r--include/mruby/error.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/error.h b/include/mruby/error.h
index 20090d197..d24b5b0c3 100644
--- a/include/mruby/error.h
+++ b/include/mruby/error.h
@@ -52,7 +52,7 @@ mrb_break_value_get(struct RBreak *brk)
{
mrb_value val;
val.value = brk->value;
- val.tt = brk->flags & RBREAK_VALUE_TT_MASK;
+ val.tt = (enum mrb_vtype)(brk->flags & RBREAK_VALUE_TT_MASK);
return val;
}
static inline void