remove XC 4.6 warnings