Cast void* type to intptr_t before we cast it to int32_t.

Change-Id: I1d55bcc8784401ffe07f3b40761877ee02302f84
2 files changed