Fixed type for getopt_long return value.
This commit is contained in:
@@ -121,7 +121,7 @@ int main (int argc, char **argv)
|
||||
int gaps = APPEND;
|
||||
|
||||
/* option variables */
|
||||
char c;
|
||||
int c;
|
||||
/* getopt_long() variables */
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
||||
@@ -77,7 +77,7 @@ int main (int argc, char **argv)
|
||||
int iformat = UNKNOWN;
|
||||
int oformat = UNKNOWN;
|
||||
/* option variables */
|
||||
char c;
|
||||
int c;
|
||||
/* getopt_long() variables */
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
||||
@@ -438,8 +438,9 @@ int main (int argc, char **argv)
|
||||
int trackno = -1; /* track number (-1 = unspecified, 0 = disc info) */
|
||||
char *d_template = NULL; /* disc template */
|
||||
char *t_template = NULL; /* track template */
|
||||
/* option variables */
|
||||
int c;
|
||||
/* getopt_long() variables */
|
||||
char c;
|
||||
extern char *optarg;
|
||||
extern int optind;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user