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

a few clang warning fixes #1

Merged
merged 2 commits into from Oct 27, 2014
Merged

a few clang warning fixes #1

merged 2 commits into from Oct 27, 2014

Conversation

piemonte
Copy link
Contributor

hi @fastred, great library! made a couple minor modifications so that it could compile in one of my projects.

i use a pretty strict environment, if you're curious, the configuration can be found here:

https://github.com/piemonte/xconfig

patrick piemonte added 2 commits October 27, 2014 12:19
…inor problems

MotionBlurFilter

- using floating point based abs instead of integer based
- declare as static inline for function prototype declaration

For the floating point conversion, we could add in a nearbyintf, if we want integer rounding
- floating point based methods instead of integer based abs (we could use nearbyintf if we want rounding)
- opacity is a float, some systems CGFloat is a double

- missing newline at bottom of file warning
fastred added a commit that referenced this pull request Oct 27, 2014
a few clang warning fixes
@fastred fastred merged commit 167bb53 into fastred:master Oct 27, 2014
@fastred
Copy link
Owner

fastred commented Oct 27, 2014

Thanks!

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