Remove int typecast from eq