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.

This commit is contained in:
Masaki Muranaka
2013-03-29 16:26:00 +09:00
parent c67aec25b6
commit 2b6e9ee556
3 changed files with 4 additions and 4 deletions
+1 -1
View File
@@ -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;