about summary refs log tree commit diff
path: root/xe.c
diff options
context:
space:
mode:
authorChristian Neukirchen <chneukirchen@gmail.com>2016-05-20 20:14:18 +0200
committerChristian Neukirchen <chneukirchen@gmail.com>2016-05-20 20:14:18 +0200
commitfdd24f0ab57ab3261bda31162575ecca769e0373 (patch)
tree738f831905a5bd9a63dceb48c69bcdffd3180b3c /xe.c
parentaeb6f8f87f92cab7f174796753a511552077b4c9 (diff)
downloadxe-fdd24f0ab57ab3261bda31162575ecca769e0373.tar.gz
xe-fdd24f0ab57ab3261bda31162575ecca769e0373.tar.xz
xe-fdd24f0ab57ab3261bda31162575ecca769e0373.zip
store result of getopt in int, to not break on architectures with unsigned chars v0.6.1
Diffstat (limited to 'xe.c')
-rw-r--r--xe.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/xe.c b/xe.c
index 1b5853e..11a5963 100644
--- a/xe.c
+++ b/xe.c
@@ -260,8 +260,7 @@ parse_jobs(char *s)
 int
 main(int argc, char *argv[], char *envp[])
 {
-	char c;
-	int i, j, cmdend;
+	int c, i, j, cmdend;
 	char *arg;
 
 	bufcap = 4096;