etc: Fix int to pointer typecasting build warnings 73/66373/4
authorMun, Gwan-gyeong <kk.moon@samsung.com>
Mon, 18 Apr 2016 11:15:36 +0000 (20:15 +0900)
committerTaekyun Kim <tkq.kim@samsung.com>
Tue, 19 Apr 2016 03:44:27 +0000 (20:44 -0700)
commit12a32d51ceef9119ed5e4430ca53ad2e1f6e2a72
tree083ab9569687d64927f59b2bdb392489c4981378
parent44020ac6c53a1ffc5dd05342d827a718d96def2e
etc: Fix int to pointer typecasting build warnings

This is a bug from the khronos vulkan header file. It is scheduled to be resolved in
milestone "P1". See the following issue page.

https://github.com/KhronosGroup/Vulkan-LoaderAndValidationLayers/issues/36

When we use typecasting to pointer type, we should use uintptr_t type. it provides
safe pointer typecasting on 32bit and 64bit. We can revert this commit when the
above issue is resolved.

Change-Id: Id53d17c13c0dafc341889875140469c0f2943e67
src/null-driver/null-driver.c
src/wsi/surface.c
src/wsi/swapchain.c