diff options
| author | levlam <levlam@telegram.org> | 2023-03-06 16:59:18 +0300 |
|---|---|---|
| committer | levlam <levlam@telegram.org> | 2023-03-06 16:59:18 +0300 |
| commit | d4646d4cd91274f9667ea77fc7bb0a140dc7db12 (patch) | |
| tree | d799f15a4119cefe79a24d8107f115731310dbe2 /tddb | |
| parent | 36701d3acd3aab56844de07882fe7e283c6ada3d (diff) | |
Minor improvements.
Diffstat (limited to 'tddb')
| -rw-r--r-- | tddb/td/db/binlog/BinlogEvent.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tddb/td/db/binlog/BinlogEvent.cpp b/tddb/td/db/binlog/BinlogEvent.cpp index c74acd2b7..f1ff50ab9 100644 --- a/tddb/td/db/binlog/BinlogEvent.cpp +++ b/tddb/td/db/binlog/BinlogEvent.cpp @@ -38,7 +38,7 @@ Status BinlogEvent::validate() const { return Status::Error("Too small event"); } TlParser parser(as_slice(raw_event_)); - uint32 size = static_cast<uint32>(parser.fetch_int()); + auto size = static_cast<uint32>(parser.fetch_int()); if (size_ != size || size_ != raw_event_.size()) { return Status::Error(PSLICE() << "Size of event changed: " << tag("was", size_) << tag("now", size)); } |
