Commit 0144933f authored by massiot's avatar massiot

* dvblast.c: getopt() returns int rather than (possibly unsigned) char.


git-svn-id: svn://svn.videolan.org/dvblast/trunk@31 55d3f8b6-4a41-4d2d-a900-313d1436a5b8
parent 715851f9
...@@ -211,14 +211,14 @@ int main( int i_argc, char **pp_argv ) ...@@ -211,14 +211,14 @@ int main( int i_argc, char **pp_argv )
{ {
struct sched_param param; struct sched_param param;
int i_error; int i_error;
char c; int c;
if ( i_argc == 1 ) if ( i_argc == 1 )
usage(); usage();
msg_Warn( NULL, "restarting" ); msg_Warn( NULL, "restarting" );
while ( ( c = getopt(i_argc, pp_argv, "q::c:r:t:o:i:a:n:f:s:v:pb:m:uUTd:eh")) != (char)EOF ) while ( ( c = getopt(i_argc, pp_argv, "q::c:r:t:o:i:a:n:f:s:v:pb:m:uUTd:eh")) != (int)EOF )
{ {
switch ( c ) switch ( c )
{ {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment