From ba2775619f71582985ce164f0934fa2f286840b9 Mon Sep 17 00:00:00 2001 From: Klas Lindfors Date: Wed, 27 Aug 2014 11:00:49 +0200 Subject: [PATCH] make argv const to get rid of warning --- tests/test.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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);