mirror of
git://git.code.sf.net/p/cdesktopenv/code
synced 2025-03-09 15:50:02 +00:00
Fix compiler warning in INIT/ratz.c (#28)
src/cmd/INIT/ratz.c: - Fix 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 was being treated as a signed char while the case label 0241 is greater than 127, resulting in this warning.
This commit is contained in:
parent
99065353b3
commit
ee698e89d5
1 changed files with 1 additions and 1 deletions
|
@ -4736,7 +4736,7 @@ char** argv;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
state.id = "ratz";
|
state.id = "ratz";
|
||||||
switch ('~')
|
switch ((unsigned char)'~')
|
||||||
{
|
{
|
||||||
case 0241:
|
case 0241:
|
||||||
switch ('\n')
|
switch ('\n')
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue