mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 06:26:18 +00:00
Fix build in Xcode and GCC.
This commit is contained in:
@@ -184,8 +184,8 @@ void _initMsgIdConstants() {
|
||||
const auto valid = (size == 16)
|
||||
|| (size == 17
|
||||
&& (password[0] == '3')
|
||||
&& ((password[1] >= 'Q') && (password[1] <= 'Z')
|
||||
|| (password[1] >= 'a') && (password[1] <= 'f')))
|
||||
&& ((password[1] >= 'Q' && password[1] <= 'Z')
|
||||
|| (password[1] >= 'a' && password[1] <= 'f')))
|
||||
|| (size >= 21
|
||||
&& (password[0] == '7')
|
||||
&& (password[1] >= 'g')
|
||||
|
Reference in New Issue
Block a user