-
Notifications
You must be signed in to change notification settings - Fork 110
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 compile warning (incompatible pointer type) #17
base: master
Are you sure you want to change the base?
Conversation
mod_cloudflare.c: In function 'set_cf_default_proxies': mod_cloudflare.c:187:23: warning: initialization from incompatible pointer type [enabled by default] char **proxies = CF_DEFAULT_TRUSTED_PROXY; ^
Or just change |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yes, this solves the compiler warning without changing functionality.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
yeah merge
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I apologize, I somehow got to the wrong repo entirely. Disregard this comment
I don't understand why this hasn't been merged in yet. |
Well, probably won't be merged anymore since the module is abandoned by Cloudflare |
mod_cloudflare.c: In function 'set_cf_default_proxies':
mod_cloudflare.c:187:23: warning: initialization from incompatible
pointer type [enabled by default]
char **proxies = CF_DEFAULT_TRUSTED_PROXY;
^
The above error was being emitted on gcc 4.8.5 (apache 2.4.6) before applying this change. Verified things still seem to function as far as access_logs go.