fix const_cast_from, again
IPR: hap code compiles