Fix type of c in execsh()

C is compared against EOF, so it cannot be char.
This commit is contained in:
Roberto E. Vargas Caballero 2018-03-04 14:56:44 +01:00 committed by sin
parent a5d268c409
commit 0732529fef
1 changed files with 2 additions and 2 deletions

4
ed.c
View File

@ -888,8 +888,8 @@ static void
execsh(void)
{
static String cmd;
char c, *p;
int repl = 0;
char *p;
int c, repl = 0;
skipblank();
if ((c = input()) != '!') {