summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/mruby/irep.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h
index 100afb494..fe732a43a 100644
--- a/include/mruby/irep.h
+++ b/include/mruby/irep.h
@@ -12,10 +12,10 @@ extern "C" {
#endif
typedef struct mrb_irep {
- int idx:16;
- int nlocals:16;
- int nregs:16;
- int flags:8;
+ uint16_t idx;
+ uint16_t nlocals;
+ uint16_t nregs;
+ uint8_t flags;
mrb_code *iseq;
mrb_value *pool;