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

Warnings in iPhone Retina (4-inch 64-bit) #2

Open
thewinger opened this issue May 24, 2014 · 3 comments
Open

Warnings in iPhone Retina (4-inch 64-bit) #2

thewinger opened this issue May 24, 2014 · 3 comments

Comments

@thewinger
Copy link

HI, @TomSwift , first of all, thank you for the great work.

When I run the project in the iOS Simulator iPhone Retina (4-inch 64-bit) I get this warnings

…/TSCurrencyTextField/TSCurrencyTextField/TSCurrencyTextField.m:77:62: Field precision should have type 'int', but argument has type 'NSUInteger' (aka 'unsigned long')

…/TSCurrencyTextField/TSCurrencyTextField/TSCurrencyTextField.m:155:49: Implicit conversion loses integer precision: 'unsigned long' to 'int'

…/TSCurrencyTextField/TSCurrencyTextField/TSCurrencyTextField.m:160:37: Implicit conversion loses integer precision: 'unsigned long' to 'int'

Is there a way to solve them?

Thank you for your time and effort

@marcelvoss
Copy link

To fix the two integer precision warnings make them a long integer. To fix the field precision warning make the argument a short integer. That should fix it. By the way, I already created a Pull Request with the fixes.

@thewinger
Copy link
Author

Great! That solved it. Thank you very much!

@marcelvoss
Copy link

I'm glad that I was able to help you. 😄

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

No branches or pull requests

2 participants