[PATCH 14/17] dlls/taskschd: use correct integral type