mirror of
https://github.com/telegramdesktop/tdesktop
synced 2025-08-31 14:38:15 +00:00
Fix build on GCC.
This commit is contained in:
@@ -3248,7 +3248,7 @@ bool MainWidget::failDifference(const RPCError &error) {
|
||||
}
|
||||
|
||||
void MainWidget::getDifferenceByPts() {
|
||||
auto now = crl::now(), wait = 0LL;
|
||||
auto now = crl::now(), wait = crl::time(0);
|
||||
if (_getDifferenceTimeByPts) {
|
||||
if (_getDifferenceTimeByPts > now) {
|
||||
wait = _getDifferenceTimeByPts - now;
|
||||
@@ -3273,7 +3273,7 @@ void MainWidget::getDifferenceByPts() {
|
||||
}
|
||||
|
||||
void MainWidget::getDifferenceAfterFail() {
|
||||
auto now = crl::now(), wait = 0LL;
|
||||
auto now = crl::now(), wait = crl::time(0);
|
||||
if (_getDifferenceTimeAfterFail) {
|
||||
if (_getDifferenceTimeAfterFail > now) {
|
||||
wait = _getDifferenceTimeAfterFail - now;
|
||||
|
Reference in New Issue
Block a user