fix: "Implicit conversion loses integer precision" warnings (#3960)

This commit is contained in:
A Cœur
2022-10-26 00:14:42 +08:00
committed by GitHub
parent 14f2698cdc
commit 12e564096b
38 changed files with 284 additions and 281 deletions

View File

@@ -185,7 +185,7 @@ public:
tr_peer(tr_torrent const* tor, peer_atom* atom = nullptr);
virtual ~tr_peer();
virtual bool isTransferringPieces(uint64_t now, tr_direction dir, unsigned int* setme_bytes_per_second) const = 0;
virtual bool isTransferringPieces(uint64_t now, tr_direction dir, tr_bytes_per_second_t* setme_bytes_per_second) const = 0;
[[nodiscard]] virtual std::string readable() const = 0;