1
0
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:
Fredrik Thulin 2011-11-22 11:03:51 +01:00
parent 47e59ae8c0
commit 8930cca53e

View File

@ -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) {