getopt return value changed from char to int (https://github.com/clicon/clixon/issues/58)
This commit is contained in:
parent
39a5086218
commit
d09a8c08aa
12 changed files with 17 additions and 14 deletions
|
|
@ -289,7 +289,7 @@ example_restconf_start(clicon_handle h,
|
|||
int argc,
|
||||
char **argv)
|
||||
{
|
||||
char c;
|
||||
int c;
|
||||
|
||||
clicon_debug(1, "%s argc:%d", __FUNCTION__, argc);
|
||||
optind = 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue