summaryrefslogtreecommitdiff
blob: bca81e79ef78f0d75817f10c9f8a64869f6d79a1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Index: unieject-5.3.1/unieject.c
===================================================================
--- unieject-5.3.1.orig/unieject.c
+++ unieject-5.3.1/unieject.c
@@ -141,8 +141,8 @@ static void parse_configuration()
 /* Parse a all options. */
 static int parse_options (int argc, const char *argv[])
 {
-	char tmpopt;
-	char opt = OP_IGNORE; /* used for argument parsing */
+	int8_t tmpopt;
+	int8_t opt = OP_IGNORE; /* used for argument parsing */
 	
 	struct poptOption optionsTable[] = {
 		{ "trayclose",		't', POPT_ARG_VAL, &opts.eject, 0,