mirror of
https://github.com/Yubico/yubico-pam.git
synced 2024-11-29 09:24:22 +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,
|
unsigned char **action,
|
||||||
int *exit_code)
|
int *exit_code)
|
||||||
{
|
{
|
||||||
char c;
|
int c;
|
||||||
|
|
||||||
while((c = getopt(argc, argv, optstring)) != -1) {
|
while((c = getopt(argc, argv, optstring)) != -1) {
|
||||||
switch (c) {
|
switch (c) {
|
||||||
|
Loading…
Reference in New Issue
Block a user