typecast constants