aboutsummaryrefslogtreecommitdiffstats
path: root/src/tvtimeconf.c
diff options
context:
space:
mode:
authoringuin <devnull@localhost>2004-12-01 23:20:13 +0000
committeringuin <devnull@localhost>2004-12-01 23:20:13 +0000
commit40d94aacb5eb4ba1d768b8097bcab99db0219751 (patch)
tree43dbb5e41f8d15d59a499eb57ed89a4076e1451e /src/tvtimeconf.c
parent70f0a99bbb790c0277c28e95c8e61898f9f19845 (diff)
02 Dec 2004 Ingo van Lil <inguin@gmx.de>
* tvtime/src/tvtimeconf.c: Fixed a data type mismatch in all three command line parsing functions.
Diffstat (limited to 'src/tvtimeconf.c')
-rw-r--r--src/tvtimeconf.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/tvtimeconf.c b/src/tvtimeconf.c
index 280b5c9..686c0d2 100644
--- a/src/tvtimeconf.c
+++ b/src/tvtimeconf.c
@@ -886,7 +886,7 @@ int config_parse_tvtime_command_line( config_t *ct, int argc, char **argv )
int option_index = 0;
int saveoptions = 0;
int filename_specified = 0;
- char c;
+ int c;
if( argc ) {
while( (c = getopt_long( argc, argv, "ahkmMsSvF:r:g:I:d:b:i:c:n:D:f:x:X:t:l:Qg:",
@@ -1022,7 +1022,7 @@ int config_parse_tvtime_config_command_line( config_t *ct, int argc, char **argv
};
int option_index = 0;
int filename_specified = 0;
- char c;
+ int c;
if( argc == 1 ) {
print_config_usage( argv );
@@ -1196,7 +1196,7 @@ int config_parse_tvtime_scanner_command_line( config_t *ct, int argc,
{ 0, 0, 0, 0 }
};
int option_index = 0;
- char c;
+ int c;
while( (c = getopt_long( argc, argv, "hF:d:i:n:",
long_options, &option_index )) != -1 ) {

Privacy Policy