summaryrefslogtreecommitdiffstats
path: root/Telegram/SourceFiles/payments/ui/payments_panel.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Telegram/SourceFiles/payments/ui/payments_panel.cpp')
-rw-r--r--Telegram/SourceFiles/payments/ui/payments_panel.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/Telegram/SourceFiles/payments/ui/payments_panel.cpp b/Telegram/SourceFiles/payments/ui/payments_panel.cpp
index f5c7015cc4..d081a3f7ad 100644
--- a/Telegram/SourceFiles/payments/ui/payments_panel.cpp
+++ b/Telegram/SourceFiles/payments/ui/payments_panel.cpp
@@ -120,7 +120,7 @@ void Panel::chooseShippingOption(const ShippingOptions &options) {
.title = tr::lng_payments_shipping_method(),
.options = list,
.initialSelection = (i != end(options.list)
- ? (i - begin(options.list))
+ ? int(i - begin(options.list))
: -1),
.callback = save,
});