From f8fdc6a8286e8429c8dfbb6b662864aa2d67ec0a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luukas=20P=C3=B6rtfors?= Date: Sat, 8 Oct 2022 22:10:47 +0300 Subject: [PATCH] remote: fix invalid format string (#3909) --- utils/remote.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/utils/remote.cc b/utils/remote.cc index 5307565a5..e8cc4eed5 100644 --- a/utils/remote.cc +++ b/utils/remote.cc @@ -1955,7 +1955,7 @@ static void printSessionStats(tr_variant* top) tr_variantDictFindInt(d, TR_KEY_downloadedBytes, &down) && tr_variantDictFindInt(d, TR_KEY_secondsActive, &secs)) { fmt::print("\nTOTAL\n"); - fmt::print(" Started %lu times\n", (unsigned long)sessions); + fmt::print(" Started {:d} times\n", sessions); fmt::print(" Uploaded: {:s}\n", strlsize(up)); fmt::print(" Downloaded: {:s}\n", strlsize(down)); fmt::print(" Ratio: {:s}\n", strlratio(up, down));