c/main: Fix printf formatting on 32bit

This commit is contained in:
Ryan Pavlik 2023-03-02 15:11:54 -06:00 committed by Jakob Bornecrantz
parent 43ac5d44cf
commit 06b91dabc8

View file

@ -454,7 +454,7 @@ get_surface_counter_val(struct comp_target *ct)
&counter_val); // pCounterValue
if (ret == VK_SUCCESS) {
COMP_SPEW(cts->base.c, "vkGetSwapchainCounterEXT: %lu", counter_val);
COMP_SPEW(cts->base.c, "vkGetSwapchainCounterEXT: %" PRIu64, counter_val);
} else if (ret == VK_ERROR_OUT_OF_DATE_KHR) {
COMP_ERROR(cts->base.c, "vkGetSwapchainCounterEXT: Swapchain out of date!");
} else {