summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorMasaki Muranaka <[email protected]>2013-03-29 16:26:00 +0900
committerMasaki Muranaka <[email protected]>2013-03-29 16:26:00 +0900
commit2b6e9ee556fabebf732ba24fe1de2250b6a6dda2 (patch)
tree70a0fad38f259f4e5317fd9ab7b47e126b0ff637 /include
parentc67aec25b6aeb4191b695a197eb3835b83d81886 (diff)
downloadmruby-2b6e9ee556fabebf732ba24fe1de2250b6a6dda2.tar.gz
mruby-2b6e9ee556fabebf732ba24fe1de2250b6a6dda2.zip
Modify the type of line-number to uint16_t. Type short is not portable. And it cannot be more than UINT16_MAX because of the mrbc binary format.
Diffstat (limited to 'include')
-rw-r--r--include/mruby/irep.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/irep.h b/include/mruby/irep.h
index 982ab4ac2..0305b9e0b 100644
--- a/include/mruby/irep.h
+++ b/include/mruby/irep.h
@@ -23,7 +23,7 @@ typedef struct mrb_irep {
/* debug info */
const char *filename;
- short *lines;
+ uint16_t *lines;
size_t ilen, plen, slen;
} mrb_irep;