remote: fix invalid format string (#3909)

This commit is contained in:
Luukas Pörtfors 2022-10-08 22:10:47 +03:00 committed by GitHub
parent aeaa6ca52f
commit f8fdc6a828
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -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));