diff --git a/libs/console/cl_debug.c b/libs/console/cl_debug.c index b3f01cfd0..285e2f150 100644 --- a/libs/console/cl_debug.c +++ b/libs/console/cl_debug.c @@ -667,9 +667,9 @@ system_info (void) UI_Horizontal { UI_Label ("frame: "); UI_FlexibleSpace (); - UI_Labelf ("%'7zd\u03bcs##frame.time", min_delta); - UI_Labelf ("%'7zd\u03bcs##frame.time", delta); - UI_Labelf ("%'7zd\u03bcs##frame.time", max_delta); + UI_Labelf ("%'7"PRIu64"\u03bcs##frame.time", min_delta); + UI_Labelf ("%'7"PRIu64"\u03bcs##frame.time", delta); + UI_Labelf ("%'7"PRIu64"\u03bcs##frame.time", max_delta); } UI_Horizontal { UI_FlexibleSpace (); diff --git a/libs/video/renderer/vulkan/capture.c b/libs/video/renderer/vulkan/capture.c index 8a4a69967..c7ae88220 100644 --- a/libs/video/renderer/vulkan/capture.c +++ b/libs/video/renderer/vulkan/capture.c @@ -144,7 +144,7 @@ capture_initiate (const exprval_t **params, exprval_t *result, exprctx_t *ectx) frame->initiated = true; auto time = Sys_LongTime (); - printf ("capture_initiate: %zd.%03zd.%0zd\n", + printf ("capture_initiate: %"PRIu64".%03"PRIu64".%0"PRIu64"\n", time / 1000000, (time / 1000) % 1000, time % 1000); } @@ -168,7 +168,7 @@ capture_finalize (const exprval_t **params, exprval_t *result, exprctx_t *ectx) return; } auto time = Sys_LongTime (); - printf ("capture_finalize: %zd.%03zd.%0zd\n", + printf ("capture_finalize: %"PRIu64".%03"PRIu64".%0"PRIu64"\n", time / 1000000, (time / 1000) % 1000, time % 1000); auto device = ctx->device; @@ -350,6 +350,6 @@ QFV_Capture_Screen (vulkan_ctx_t *ctx, capfunc_t callback, void *data) frame->callback = callback; frame->callback_data = data; auto time = Sys_LongTime (); - printf ("capture_request: %zd.%03zd.%0zd\n", + printf ("capture_request: %"PRIu64".%03"PRIu64".%0"PRIu64"\n", time / 1000000, (time / 1000) % 1000, time % 1000); } diff --git a/libs/video/renderer/vulkan/render_ui.c b/libs/video/renderer/vulkan/render_ui.c index f219189a2..b0fff4903 100644 --- a/libs/video/renderer/vulkan/render_ui.c +++ b/libs/video/renderer/vulkan/render_ui.c @@ -52,9 +52,9 @@ reset_time (qfv_time_t *time) static void show_time (qfv_time_t *time, imui_ctx_t *imui_ctx, const char *suffix) { - UI_Labelf ("%'7zd\u03bcs%s", time->min_time, suffix); - UI_Labelf ("%'7zd\u03bcs%s", time->cur_time, suffix); - UI_Labelf ("%'7zd\u03bcs%s", time->max_time, suffix); + UI_Labelf ("%'7"PRIu64"\u03bcs%s", time->min_time, suffix); + UI_Labelf ("%'7"PRIu64"\u03bcs%s", time->cur_time, suffix); + UI_Labelf ("%'7"PRIu64"\u03bcs%s", time->max_time, suffix); } static void