Removed unneeded typecast