File: bl.005.int_getopt.diff

package info (click to toggle)
bl 1.2-10
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 108 kB
  • ctags: 50
  • sloc: ansic: 266; makefile: 15
file content (12 lines) | stat: -rw-r--r-- 500 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
diff -Nru bl-1.2/bl.c bl-1.2.debian/bl.c
--- bl-1.2/bl.c	2003-06-03 13:08:03.000000000 +0200
+++ bl-1.2.debian/bl.c	2003-06-03 13:09:47.000000000 +0200
@@ -113,7 +113,7 @@
 	int dir;	/* direction we are going */
 	int single = -1;   /* single or count repetions */
 	int delay;	/* delay between blinks */
-	char c;		/* char for getopt() */
+	int c;		/* char for getopt() */
 	char tty[10] = "/dev/";	/* device name */
 	extern char *optarg;	/* for getopt() */
         time_t now;	/* current time */