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

@@ -144,8 +144,8 @@ public:
void readBufferAdd(void const* data, size_t n_bytes);
int flushOutgoingProtocolMsgs();
int flush(tr_direction dir, size_t byte_limit);
ssize_t flushOutgoingProtocolMsgs();
ssize_t flush(tr_direction dir, size_t byte_limit);
void writeBytes(void const* bytes, size_t n_bytes, bool is_piece_data);