You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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
The text was updated successfully, but these errors were encountered:
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.
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
The text was updated successfully, but these errors were encountered: