aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorselsta <selsta@sent.at>2021-05-13 03:51:31 +0200
committerselsta <selsta@sent.at>2021-05-13 03:51:31 +0200
commitda45d3f5b3d7eee360bb27f4952cd53f682585c2 (patch)
tree7e47bd1fab417e0732410555901e24f2d18d03a8 /src
parentMerge pull request #7697 (diff)
downloadmonero-da45d3f5b3d7eee360bb27f4952cd53f682585c2.tar.xz
trezor: deprecated ByteSize -> ByteSizeLong
Diffstat (limited to 'src')
-rw-r--r--src/device_trezor/trezor/transport.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/device_trezor/trezor/transport.cpp b/src/device_trezor/trezor/transport.cpp
index be95868d0..194176413 100644
--- a/src/device_trezor/trezor/transport.cpp
+++ b/src/device_trezor/trezor/transport.cpp
@@ -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) {