commit 64aac9b504c23b1fdf451025ff3d0765bec6edcd Author: sin <[email protected]> Date: Thu Nov 20 17:26:47 2014 +0000
Just use int for mode
diff --git a/grep.c b/grep.c
index b02ff38..b2c41b7 100644
--- a/grep.c
+++ b/grep.c
@@ -24,7 +24,7 @@ static int sflag;
static int vflag;
static int xflag;
static int many;
-static char mode;
+static int mode;
struct pattern {
char *pattern;
