diff --git a/tests/test.c b/tests/test.c index f84b464..b4e1f6c 100644 --- a/tests/test.c +++ b/tests/test.c @@ -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);