mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
codegen.c: change size_t to uint16_t To remove type conversion warnings.
This commit is contained in:
@@ -57,7 +57,7 @@ typedef struct scope {
|
||||
uint32_t pc;
|
||||
uint32_t lastpc;
|
||||
uint32_t lastlabel;
|
||||
size_t ainfo:15;
|
||||
uint16_t ainfo:15;
|
||||
mrb_bool mscope:1;
|
||||
|
||||
struct loopinfo *loop;
|
||||
@@ -2953,7 +2953,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
{
|
||||
codegen_scope *s2 = s;
|
||||
int lv = 0;
|
||||
size_t ainfo = 0;
|
||||
uint16_t ainfo = 0;
|
||||
int n = CALL_MAXARGS;
|
||||
int sp = cursp();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user