From 602cbfcba0ff005e5847e846a4e1c9ae5881c84b Mon Sep 17 00:00:00 2001 From: Cameron Clough Date: Sun, 20 Mar 2022 23:53:42 +0000 Subject: [PATCH] replay: fix wrong format code in print (#24006) --- selfdrive/ui/replay/consoleui.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/selfdrive/ui/replay/consoleui.cc b/selfdrive/ui/replay/consoleui.cc index 72e2fcf80..fbbc4c15f 100644 --- a/selfdrive/ui/replay/consoleui.cc +++ b/selfdrive/ui/replay/consoleui.cc @@ -241,7 +241,7 @@ void ConsoleUI::updateProgressBar(uint64_t cur, uint64_t total, bool success) { void ConsoleUI::updateSummary() { const auto &route = replay->route(); - mvwprintw(w[Win::Stats], 0, 0, "Route: %s, %d segments", qPrintable(route->name()), route->segments().size()); + mvwprintw(w[Win::Stats], 0, 0, "Route: %s, %lu segments", qPrintable(route->name()), route->segments().size()); mvwprintw(w[Win::Stats], 1, 0, "Car Fingerprint: %s", replay->carFingerprint().c_str()); wrefresh(w[Win::Stats]); }