Skip to content
This repository was archived by the owner on Aug 8, 2023. It is now read-only.

[ios, macos] Use NSNumber in exception strings - #7083

Merged
boundsj merged 1 commit into
release-ios-v3.4.0from
boundsj-use-numbers-in-exception-strings
Nov 15, 2016
Merged

boundsj merged 1 commit into
release-ios-v3.4.0from
boundsj-use-numbers-in-exception-strings

Conversation

@boundsj

@boundsj boundsj commented Nov 15, 2016

Copy link
Copy Markdown
Contributor

Avoid precision loss / cast warnings.

cc @incanus @1ec5

@boundsj boundsj added iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS labels Nov 15, 2016
@boundsj boundsj added this to the ios-v3.4.0 milestone Nov 15, 2016
@boundsj boundsj self-assigned this Nov 15, 2016
@mention-bot

Copy link
Copy Markdown

@boundsj, thanks for your PR! By analyzing the history of the files in this pull request, we identified @incanus, @jfirebaugh and @1ec5 to be potential reviewers.

@boundsj
boundsj merged commit 068a89c into release-ios-v3.4.0 Nov 15, 2016
@boundsj
boundsj deleted the boundsj-use-numbers-in-exception-strings branch November 15, 2016 21:39
format:@"Invalid coordinate range %@ extends beyond current coordinate count of %zu",
NSStringFromRange(range), [self pointCount]];
format:@"Invalid coordinate range %@ extends beyond current coordinate count of %@",
NSStringFromRange(range), @([self pointCount])];

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This isn’t necessary. There should be a fix-it that casts self.pointCount to unsigned long.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

iOS Mapbox Maps SDK for iOS macOS Mapbox Maps SDK for macOS

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants