Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Address warnings in Xcode >= 9.3 about using %zd for NSInteger #trivial #1026

Merged
merged 1 commit into from
Jul 13, 2018

Conversation

Adlai-Holler
Copy link
Member

Oh %zd, you were the solution to all our problems. The perfect specifier for NSInteger a.k.a ssize_t.

But the lords of Clang have struck you down. So let's throw in the towel and cast to long. For now, using %tu for NSUInteger doesn't generate warnings so let's leave it be. Easy enough to change later.

@Adlai-Holler Adlai-Holler merged commit af7f71f into master Jul 13, 2018
@Adlai-Holler Adlai-Holler deleted the AHFixWarnings branch July 13, 2018 18:56
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants