diff options
author | Kenneth Graunke <[email protected]> | 2019-02-21 19:07:29 -0800 |
---|---|---|
committer | Kenneth Graunke <[email protected]> | 2019-02-22 08:56:54 -0800 |
commit | 3090c6b9e9c114b3438be83399c7bed12f920505 (patch) | |
tree | b3d15bce923bd651c886b40d4f8da120123b235b /src/gallium/drivers/freedreno/freedreno_batch.c | |
parent | 4f917e6a61860b58a05d40584f7aa3d5e4e32b75 (diff) |
vulkan: Fix 32-bit build for the new overlay layer
vulkan_core.h defines non-dispatchable handles as (struct object *)
on 64-bit systems, but uint64_t on 32-bit systems. The former can be
implicitly cast to void *, but the latter requires an explicit cast.
While here, %lu is the wrong format specifier for uint64_t on 32-bit
systems, so use PRIu64, fixing a warning.
Reported-by: Mike Lothian <[email protected]>
Reviewed-by: Tapani Pälli <[email protected]>
Reviewed-by: Lionel Landwerlin <[email protected]>
Diffstat (limited to 'src/gallium/drivers/freedreno/freedreno_batch.c')
0 files changed, 0 insertions, 0 deletions