Skip to content

Explicitly declare the char as signed in zend_ffi_val. #5302

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

Closed
wants to merge 1 commit into from

Conversation

Girgias
Copy link
Member

@Girgias Girgias commented Mar 26, 2020

This causes issues down the line as char are unsigned on some platforms,
e.g. ARM and cause a [-Wtype-limits] warning to be emitted.

I believe this would fix the FFI compilation warning on ARM presented in #5151

This causes issues down the line as char are unsigned on some platforms,
e.g. ARM and cause a [-Wtype-limits] warning to be emitted.
@dstogov dstogov self-requested a review March 26, 2020 07:21
@dstogov
Copy link
Member

dstogov commented Mar 26, 2020

looks fine

@dstogov
Copy link
Member

dstogov commented Mar 26, 2020

Merged as 6e88f19

@dstogov dstogov closed this Mar 26, 2020
@Girgias Girgias deleted the ffi-explicit-unsigned-char branch March 26, 2020 13:09
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