diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-15 15:43:40 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2014-03-15 15:43:40 +0900 |
| commit | c476c1b528eca69630eb6a174e77deaab384487d (patch) | |
| tree | 834726bfe9671d5c02f0f4a2f6fa0b81ac7fe46a /src/variable.c | |
| parent | b868ce8a77779ee1e8bdf63742fc29113916193a (diff) | |
| download | mruby-c476c1b528eca69630eb6a174e77deaab384487d.tar.gz mruby-c476c1b528eca69630eb6a174e77deaab384487d.zip | |
symbol length type to be mrb_int
Diffstat (limited to 'src/variable.c')
| -rw-r--r-- | src/variable.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/variable.c b/src/variable.c index bfffb727f..8e427829a 100644 --- a/src/variable.c +++ b/src/variable.c @@ -562,7 +562,7 @@ inspect_i(mrb_state *mrb, mrb_sym sym, mrb_value v, void *p) { mrb_value str = *(mrb_value*)p; const char *s; - size_t len; + mrb_int len; mrb_value ins; /* need not to show internal data */ @@ -641,7 +641,7 @@ iv_i(mrb_state *mrb, mrb_sym sym, mrb_value v, void *p) { mrb_value ary; const char* s; - size_t len; + mrb_int len; ary = *(mrb_value*)p; s = mrb_sym2name_len(mrb, sym, &len); @@ -685,7 +685,7 @@ cv_i(mrb_state *mrb, mrb_sym sym, mrb_value v, void *p) { mrb_value ary; const char* s; - size_t len; + mrb_int len; ary = *(mrb_value*)p; s = mrb_sym2name_len(mrb, sym, &len); @@ -949,7 +949,7 @@ const_i(mrb_state *mrb, mrb_sym sym, mrb_value v, void *p) { mrb_value ary; const char* s; - size_t len; + mrb_int len; ary = *(mrb_value*)p; s = mrb_sym2name_len(mrb, sym, &len); |
