Skip to content

Commit

Permalink
Update src/impl/tlstransport.cpp
Browse files Browse the repository at this point in the history
Co-authored-by: Paul-Louis Ageneau <[email protected]>
  • Loading branch information
Sean-Der and paullouisageneau authored Mar 29, 2023
1 parent b4a2fd7 commit 1cd0cc7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/impl/tlstransport.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -467,7 +467,7 @@ int TlsTransport::WriteCallback(void *ctx, const unsigned char *buf, size_t len)
auto *b = reinterpret_cast<const byte *>(buf);
t->outgoing(make_message(b, b + len));

return len;
return int(len);
}

int TlsTransport::ReadCallback(void *ctx, unsigned char *buf, size_t len) {
Expand Down

0 comments on commit 1cd0cc7

Please sign in to comment.