summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2014-04-29 12:25:15 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2014-04-29 12:25:15 +0900
commit2ca5bed90173482fae66994a68bbfeb0b2b8093b (patch)
tree9cdb32590fcbd03b1a9b62203f28d7b75467e805 /include
parent48e82d7c777380a3e9035c654c5c417b8ba1a36c (diff)
downloadmruby-2ca5bed90173482fae66994a68bbfeb0b2b8093b.tar.gz
mruby-2ca5bed90173482fae66994a68bbfeb0b2b8093b.zip
make cioff in struct REnv from int to ptrdiff_t; close #2149
Diffstat (limited to 'include')
-rw-r--r--include/mruby/proc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/proc.h b/include/mruby/proc.h
index f05813b78..39f5eca22 100644
--- a/include/mruby/proc.h
+++ b/include/mruby/proc.h
@@ -17,7 +17,7 @@ struct REnv {
MRB_OBJECT_HEADER;
mrb_value *stack;
mrb_sym mid;
- int cioff;
+ ptrdiff_t cioff;
};
#define MRB_ENV_STACK_LEN(e) ((e)->flags)