mirror of
https://codeberg.org/anoncontributorxmr/monero.git
synced 2024-12-27 23:57:50 +00:00
trezor: deprecated ByteSize -> ByteSizeLong
This commit is contained in:
parent
b1873af519
commit
da45d3f5b3
1 changed files with 1 additions and 1 deletions
|
@ -157,7 +157,7 @@ namespace trezor{
|
|||
#define PROTO_HEADER_SIZE 6
|
||||
|
||||
static size_t message_size(const google::protobuf::Message &req){
|
||||
return static_cast<size_t>(req.ByteSize());
|
||||
return req.ByteSizeLong();
|
||||
}
|
||||
|
||||
static size_t serialize_message_buffer_size(size_t msg_size) {
|
||||
|
|
Loading…
Reference in a new issue