Correstions (explicit casts) necessary for the new Apple compiler