Fixed warnings when building with XC5.