Changed pointer casts to reference casts.
Changed pointer casts to reference casts.

realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core,realm/realm-core