line[j].code is already unsigned, so I think it's safe. But I think you're right that it should be 0xe000.