-
Notifications
You must be signed in to change notification settings - Fork 8k
Fix sign conversion warnings, part 3 #14472
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
Conversation
4bc94d3 to
d0e68fe
Compare
sapi/fpm/fpm/fpm_scoreboard.c
Outdated
| mem += scoreboard_size; | ||
|
|
||
| for (i = 0; i < scoreboard->nprocs; i++, mem += sizeof(struct fpm_scoreboard_proc_s)) { | ||
| for (unsigned int i = 0; i < scoreboard->nprocs; i++, mem += sizeof(struct fpm_scoreboard_proc_s)) { |
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.
Note: since you changed here ... fpm_scoreboard_proc_acquire takes a signed int.
devnexen
left a comment
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.
lctm for the pcntl part
sapi/fpm/fpm/fpm_status.c
Outdated
| struct timeval duration, now; | ||
| double cpu; | ||
| int i; | ||
| unsigned int i; |
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.
ditto.
ndossche
left a comment
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.
Ack for zend_test, dom, fileinfo
alexdowad
left a comment
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 don't see anything which I believe could possibly cause a problem with mbstring.
This does unnecessary conversions
d0e68fe to
d71456d
Compare
|
I am splitting the FPM changes to a different PR for the future |
Part of #14448
MBString is going to be tricky to get warning free, as I don't necessarily understand everything what is happening, but the ones in this PR should be safe. However, I will likely add the
-Wno-sign-comparewarning to the extension CFLAGS to let someone else deal with those issues long term.