mirror of
https://github.com/Yubico/yubico-pam.git
synced 2024-11-29 00:24:11 +01:00
parse_args: getopt() return value is int.
This commit is contained in:
parent
47e59ae8c0
commit
8930cca53e
@ -88,7 +88,7 @@ parse_args(int argc, char **argv,
|
||||
unsigned char **action,
|
||||
int *exit_code)
|
||||
{
|
||||
char c;
|
||||
int c;
|
||||
|
||||
while((c = getopt(argc, argv, optstring)) != -1) {
|
||||
switch (c) {
|
||||
|
Loading…
Reference in New Issue
Block a user