diff options
author | Alex Zolotarev <alex@maps.me> | 2015-04-12 06:01:16 +0300 |
---|---|---|
committer | Alex Zolotarev <alex@maps.me> | 2015-09-23 02:46:00 +0300 |
commit | 7201bc348cb3214278d1c1b0943bf6354750e213 (patch) | |
tree | ea105f187aebc0fb03a5f75f4466f3c4f64a8da4 /iphone/Maps/Classes/MapCell.mm | |
parent | 954e8c697227d5a7f24ee3006d1227d83505056b (diff) |
[ios] Fixed some 64-bit issues.
TODO: Carefully fix all warnings due to precision lost for arm64.
Diffstat (limited to 'iphone/Maps/Classes/MapCell.mm')
-rw-r--r-- | iphone/Maps/Classes/MapCell.mm | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/iphone/Maps/Classes/MapCell.mm b/iphone/Maps/Classes/MapCell.mm index 0504cf7a20..1967a93124 100644 --- a/iphone/Maps/Classes/MapCell.mm +++ b/iphone/Maps/Classes/MapCell.mm @@ -101,7 +101,7 @@ - (void)setDownloadProgress:(double)downloadProgress animated:(BOOL)animated { self.downloadProgress = downloadProgress; - self.statusLabel.text = [NSString stringWithFormat:@"%i%%", NSInteger(downloadProgress * 100)]; + self.statusLabel.text = [NSString stringWithFormat:@"%li%%", long(downloadProgress * 100)]; [self.progressView setProgress:downloadProgress animated:animated]; if (!self.progressMode) [self setProgressMode:YES withAnimatedLayout:animated]; |