From: "Roberto E. Vargas Caballero" <[email protected]> C is compared against EOF, so it cannot be char. --- ed.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/ed.c b/ed.c
index dcd91d1..fb4faf9 100644
--- a/ed.c
+++ b/ed.c
@@ -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()) != '!') {
--
2.14.2
