Removing integer cast