Regression test should succeed even if char is an unsigned type
This commit is contained in:
parent
8187bdd165
commit
cd6127a3e6
|
@ -4,7 +4,7 @@ int main()
|
|||
{
|
||||
char ch;
|
||||
unsigned state=0;
|
||||
while((ch=getc(stdin))!=-1)
|
||||
while((ch = getc(stdin)) != (char)-1)
|
||||
{
|
||||
switch(state)
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue