Fix warning,
GitOrigin-RevId: 7226d3025e801d4bf440390c8ecdb87eb485d993
This commit is contained in:
parent
37de65a941
commit
3e15c89f88
@ -62,7 +62,7 @@ class TlStorerUnsafe {
|
||||
*buf_++ = static_cast<unsigned char>(len & 255);
|
||||
*buf_++ = static_cast<unsigned char>((len >> 8) & 255);
|
||||
*buf_++ = static_cast<unsigned char>(len >> 16);
|
||||
} else if (len < (1ull << 32)) {
|
||||
} else if (static_cast<uint64>(len) < (static_cast<uint64>(1) << 32)) {
|
||||
*buf_++ = static_cast<unsigned char>(255);
|
||||
*buf_++ = static_cast<unsigned char>(len & 255);
|
||||
*buf_++ = static_cast<unsigned char>((len >> 8) & 255);
|
||||
|
Loading…
Reference in New Issue
Block a user