dl32SameType implementation fixed and simplified