1
0
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:
Klas Lindfors 2014-08-27 11:00:49 +02:00
parent d9780eacd9
commit ba2775619f

View File

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