Skip to content

v3dv: account for 64bit time_t on 32bit arches

Khem Raj requested to merge kraj/mesa:kraj/time64_t into main

This makes is a bit more portable, especially on 32bit architectures with 64bit time_t defaults. Especially on musl its a must.

Fixes ../mesa-21.3.0/src/broadcom/vulkan/v3dv_bo.c:71:15: error: format specifies type 'long' but the argument has type 'time_t' (aka 'long long') [-Werror,-Wformat] time.tv_sec); ^~~~~~~~~~~

Also reported here [1]

[1] https://github.com/agherzan/meta-raspberrypi/issues/969

Upstream-Status: Pending Signed-off-by: Khem Raj raj.khem@gmail.com

Merge request reports