Fix warning.

This commit is contained in:
levlam 2022-12-30 04:31:01 +03:00
parent 24a67cb67c
commit 9ab6822e19

View File

@ -457,14 +457,14 @@ class UploadProfilePhotoQuery final : public Td::ResultHandler {
is_fallback_ = is_fallback;
only_suggest_ = only_suggest;
static_assert(telegram_api::photos_uploadProfilePhoto::VIDEO_MASK ==
telegram_api::photos_uploadContactProfilePhoto::VIDEO_MASK,
static_assert(static_cast<int32>(telegram_api::photos_uploadProfilePhoto::VIDEO_MASK) ==
static_cast<int32>(telegram_api::photos_uploadContactProfilePhoto::VIDEO_MASK),
"");
static_assert(telegram_api::photos_uploadProfilePhoto::VIDEO_START_TS_MASK ==
telegram_api::photos_uploadContactProfilePhoto::VIDEO_START_TS_MASK,
static_assert(static_cast<int32>(telegram_api::photos_uploadProfilePhoto::VIDEO_START_TS_MASK) ==
static_cast<int32>(telegram_api::photos_uploadContactProfilePhoto::VIDEO_START_TS_MASK),
"");
static_assert(
telegram_api::photos_uploadProfilePhoto::FILE_MASK == telegram_api::photos_uploadContactProfilePhoto::FILE_MASK,
static_assert(static_cast<int32>(telegram_api::photos_uploadProfilePhoto::FILE_MASK) ==
static_cast<int32>(telegram_api::photos_uploadContactProfilePhoto::FILE_MASK),
"");
int32 flags = 0;