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

Fixed implicit conversions from float to double errors on 64bit #123

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

danishin
Copy link

No description provided.

@jamieomatthews
Copy link

@danishin it would be best if you casted to CGFloat here instead of double. This would let 32 bit systems continue to use float, and 64 bit systems would use double. Double precision isn't required here, so no need to drive a hard up cast to double.

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.

2 participants