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

Fix warning calling CGBitmapContextCreate #11

Merged
merged 1 commit into from
Aug 14, 2013
Merged

Fix warning calling CGBitmapContextCreate #11

merged 1 commit into from
Aug 14, 2013

Conversation

PeteC
Copy link
Contributor

@PeteC PeteC commented Aug 4, 2013

Cast the bitmapInfo parameter for CGBitmapContextCreate. This is safe to do - from the documentation for CGBitmapContextCreate - "The constants for specifying the alpha channel information are declared with the CGImageAlphaInfo type but can be passed to this parameter safely.

… This is safe to do - from docs "The constants for specifying the alpha channel information are declared with the CGImageAlphaInfo type but can be passed to this parameter safely.
jerryhjones added a commit that referenced this pull request Aug 14, 2013
Fix warning calling CGBitmapContextCreate
@jerryhjones jerryhjones merged commit 7c0c069 into Spaceman-Labs:master Aug 14, 2013
@jerryhjones
Copy link
Member

Thanks for the pull request @PeteC.

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