NXP-16224: do not toSting but cast instead