diff options
Diffstat (limited to 'benchmark/bench_misc.cpp')
| -rw-r--r-- | benchmark/bench_misc.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/benchmark/bench_misc.cpp b/benchmark/bench_misc.cpp index 5ef9cd4b4..2142a8e51 100644 --- a/benchmark/bench_misc.cpp +++ b/benchmark/bench_misc.cpp @@ -96,7 +96,7 @@ BENCH(ToStringIntBig, "to_string<int> big") { BENCH(TlToStringUpdateFile, "TL to_string updateFile") { auto x = td::td_api::make_object<td::td_api::updateFile>(get_file_object()); - td::uint32 res = 0; + std::size_t res = 0; for (int i = 0; i < n; i++) { res += to_string(x).size(); } @@ -119,7 +119,7 @@ BENCH(TlToStringMessage, "TL to_string message") { x->content_ = td::td_api::make_object<td::td_api::messagePhoto>( std::move(photo), td::td_api::make_object<td::td_api::formattedText>(), false, false); - td::uint32 res = 0; + std::size_t res = 0; for (int i = 0; i < n; i++) { res += to_string(x).size(); } |
