mirror of
https://github.com/Yubico/yubico-pam.git
synced 2025-01-19 07:52:23 +01:00
make argv const to get rid of warning
This commit is contained in:
parent
d9780eacd9
commit
ba2775619f
@ -42,12 +42,12 @@
|
||||
|
||||
|
||||
int
|
||||
main (int argc, char **argv)
|
||||
main (int argc, const char **argv)
|
||||
{
|
||||
pam_handle_t *pamh = NULL;
|
||||
int rc;
|
||||
|
||||
rc = pam_sm_authenticate (pamh, 0, 1, (const char **) argv);
|
||||
rc = pam_sm_authenticate (pamh, 0, 1, argv);
|
||||
|
||||
printf ("rc %d\n", rc);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user