Skip to content
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

Build warning in ratz for exceeding value range in case label #28

Merged
merged 1 commit into from
Jun 20, 2020

Conversation

aweeraman
Copy link

Build warning:

src/cmd/INIT/ratz.c:4741:2: warning: case label value exceeds maximum value for
 type
 4741 |  case 0241:
      |  ^~~~

The character literal in the switch expression is being treated as a signed char while the case label 0241 is greater than 127 resulting in this warning.

@McDutchie
Copy link

Hmm. The zlib code in that command could probably do with being updated to the latest version from zlib.net…

@McDutchie McDutchie merged commit ee698e8 into ksh93:master Jun 20, 2020
@aweeraman aweeraman deleted the ratz-warning branch June 20, 2020 13:35
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