-
-
Notifications
You must be signed in to change notification settings - Fork 6.3k
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 pointer mismatchings and other warnings #9823
Conversation
21bbc55
to
faa2217
Compare
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 review a part of this PR and it made me question what you are doing so I paused.
1b8b3d0
to
b42641b
Compare
e378ba1
to
a3ccbe9
Compare
54018a5
to
8bd9d9b
Compare
Not anymore |
65bb106
to
7468c20
Compare
This PR starts to smell like a million tiny changes you think should be done, but most of them are now not about "pointer mismatches and other warnings". It's a busload of various unrelated changes that should not be in the same PR. It makes this PR very hard to review and next to impossible to ultimately merge. |
Many of these castings are unneeded if we change the variables to work better with each other. Note that none of the public facing functions had their signature changed.
Many of these castings are unneeded if we change the variables to work better with each other. Ref: curl#9823 Closes #xxxx
Many of these castings are unneeded if we change the variables to work better with each other. Ref: curl#9823 Closes #xxxx
You must have very strict compiler settings for the warnings you are seeing. Many of these changes are not needed. We allow counter variables to go negative or wrap around. For example this is acceptable: int foo = 5; We allow subscript values to be a signed integer type. For example this is acceptable: int foo = 5; We allow char * function parameters. I'm closing this PR in favor of #9835 which is what is left after my review. |
Many of these castings are unneeded if we change the variables to work better with each other. Ref: curl#9823 Closes #xxxx
Many of these castings are unneeded if we change the variables to work better with each other. Ref: curl#9823 Closes #xxxx
Many of these castings are unneeded if we change the variables to work better with each other.
Note that none of the public facing functions had their signature changed.