From d28e4e31d8bf1769acf60765d86e095ecf509a25 Mon Sep 17 00:00:00 2001 From: Josh Cooper Date: Sun, 4 Sep 2022 16:12:09 -0700 Subject: [PATCH] Fixes print line format specifier --- plugins/spectate.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/spectate.cpp b/plugins/spectate.cpp index 3bd1fc517..15a881dc1 100644 --- a/plugins/spectate.cpp +++ b/plugins/spectate.cpp @@ -247,7 +247,7 @@ command_result spectate (color_ostream &out, std::vector & paramet } } else { out.print("Spectate is %s\n", enabled ? "ENABLED." : "DISABLED."); - out.print("tick-threshold: %zu\n", tick_threshold); + out.print("tick-threshold: %lu\n", tick_threshold); out.print("focus-jobs: %s\n", focus_jobs_enabled ? "on." : "off."); out.print("auto-unpause: %s\n", unpause_enabled ? "on." : "off."); out.print("auto-disengage: %s\n", disengage_enabled ? "on." : "off.");