Added some required int to float casts