Skip to content

Attempt to be better with signed conversions #306

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

Merged
merged 1 commit into from
Sep 25, 2017

Conversation

compnerd
Copy link
Member

Most targets use unsigned chars. Explicitly change the static tables to
signed char. An alternative would be to force signed chars during
the compilation of libdispatch. When building for Linux AArch64, the
use of -1 causes signed conversion warnings when initializing the
table.

Most targets use unsigned chars.  Explicitly change the static tables to
`signed char`.  An alternative  would be to force signed chars during
the compilation of libdispatch.  When building for Linux AArch64, the
use of `-1` causes signed conversion warnings when initializing the
table.
@compnerd
Copy link
Member Author

CC: @MadCoder

@compnerd
Copy link
Member Author

CC: @das

@gottesmm
Copy link
Contributor

@swift-ci smoke test

@gottesmm
Copy link
Contributor

@swift-ci test

@MadCoder MadCoder merged commit a28fc2b into swiftlang:master Sep 25, 2017
ktopley-apple pushed a commit that referenced this pull request Dec 6, 2018
Attempt to be better with signed conversions

Signed-off-by: Daniel A. Steffen <dsteffen@apple.com>
@compnerd compnerd deleted the signed branch February 15, 2020 19:39
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.

4 participants