Change flags in mrbc_vm from signed to unsigned.
@@ -128,9 +128,9 @@ typedef struct VM {
#endif
uint8_t vm_id; //!< vm_id : 1..MAX_VM_COUNT
volatile int8_t flag_preemption;
- int flag_need_memfree : 1;
- int flag_stop : 1;
- int flag_permanence : 1;
+ unsigned int flag_need_memfree : 1;
+ unsigned int flag_stop : 1;
+ unsigned int flag_permanence : 1;
uint16_t regs_size; //!< size of regs[]
