odd int to int cast required