Skip to content

Commit

Permalink
Regression test should succeed even if char is an unsigned type
Browse files Browse the repository at this point in the history
  • Loading branch information
tautschnig committed Jul 7, 2018
1 parent 8187bdd commit cd6127a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion regression/cbmc-cover/branch3/main.c
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ int main()
{
char ch;
unsigned state=0;
while((ch=getc(stdin))!=-1)
while((ch = getc(stdin)) != (char)-1)
{
switch(state)
{
Expand Down

0 comments on commit cd6127a

Please sign in to comment.