taskmaster icon indicating copy to clipboard operation
taskmaster copied to clipboard

TaskResult types are incorrect

Open fuzzyblock opened this issue 3 years ago • 0 comments

Newly created tasks for me return SCHED_S_TASK_DISABLED (0x00041302), when instead they should return SCHED_S_TASK_HAS_NOT_RUN (0x00041303).

This seems to be due to the way iota is used here. It adds 1 to 0x00041300 when in fact it should at 0 for the first code SCHED_S_TASK_READY. I haven't checked the other types but I assume they all are shifted by 1 as well.

fuzzyblock avatar Apr 18 '22 16:04 fuzzyblock