Updating errors mask from int to long.