mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
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:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user