Replace casted integer