Cast allocated pointers to proper types.

Change-Id: I473135d28e1d7f16bd37652ffeaad62dfd9bbe73
2 files changed