Fix warning.
This commit is contained in:
parent
24a67cb67c
commit
9ab6822e19
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user