From 0346f7de03196621d20fabcd8034e7f6d01363d3 Mon Sep 17 00:00:00 2001 From: Ilya Grechuhin Date: Thu, 10 Mar 2016 16:43:38 +0300 Subject: [PATCH] [ios] Fixed build. --- iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm b/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm index 5783971d99..279095411e 100644 --- a/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm +++ b/iphone/Maps/Classes/Widgets/MWMMapDownloadDialog.mm @@ -335,7 +335,7 @@ using namespace storage; - (IBAction)autoDownloadToggle { self.autoDownloadButton.selected = !self.autoDownloadButton.selected; - Settings::Set(kAutoDownloadEnabledKey, self.autoDownloadButton.selected); + Settings::Set(kAutoDownloadEnabledKey, static_cast(self.autoDownloadButton.selected)); } - (IBAction)downloadAction