Skip to content

Commit ee9444f

Browse files
authored
Merge pull request diffblue#2532 from tautschnig/debian2
Regression test should succeed even if char is an unsigned type
2 parents c8725cb + cd6127a commit ee9444f

File tree

1 file changed

+1
-1
lines changed
  • regression/cbmc-cover/branch3

1 file changed

+1
-1
lines changed

regression/cbmc-cover/branch3/main.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ int main()
44
{
55
char ch;
66
unsigned state=0;
7-
while((ch=getc(stdin))!=-1)
7+
while((ch = getc(stdin)) != (char)-1)
88
{
99
switch(state)
1010
{

0 commit comments

Comments
 (0)