Commit d0885e01 authored by Christophe Massiot's avatar Christophe Massiot

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

parent 097940c8
......@@ -211,14 +211,14 @@ int main( int i_argc, char **pp_argv )
{
struct sched_param param;
int i_error;
char c;
int c;
if ( i_argc == 1 )
usage();
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 )
{
......
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