Fix two unsafe casts.