int task_register(void)
{
uint8_t ct;
+ uint16_t i;
for(ct = 0; ct<MAXTASKS; ct++)
if(!tasks[ct].used)
if(tasks[ct].tlen > MAXTASKSIZE)
die("Task is too long: %d", tasks[ct].tlen);
//Read task bytecode
- for(unsigned int i = 0; i<tasks[ct].tlen; i++){
+ for(i = 0; i<tasks[ct].tlen; i++){
tasks[ct].bc[i] = read_byte();
// debug("t[][%i]: 0x%02x %d", i,
// tasks[ct].bc[i], tasks[ct].bc[i]);