From 69f214822efb4d9dab6a9f4650f56e856a9381b1 Mon Sep 17 00:00:00 2001 From: Theodore Tso Date: Fri, 21 Apr 1995 01:19:12 +0000 Subject: [PATCH] Fix type const vs. non-const problems git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5419 dc483132-0cff-0310-8789-dd5450dbe970 --- src/util/profile/test_profile.c | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/profile/test_profile.c b/src/util/profile/test_profile.c index 83768f30a..c6dfaa62a 100644 --- a/src/util/profile/test_profile.c +++ b/src/util/profile/test_profile.c @@ -17,6 +17,7 @@ int main(argc, argv) long retval; const char *filenames[2]; char **values, **cpp; + const char **names; filenames[0] = argv[1]; filenames[1] = 0; @@ -28,7 +29,8 @@ int main(argc, argv) com_err(argv[0], retval, "while initializing profile"); exit(1); } - retval = profile_get_values(profile, argv+2, &values); + names = (const char **) argv+2; + retval = profile_get_values(profile, names, &values); if (retval) { com_err(argv[0], retval, "while getting values"); exit(1); -- 2.26.2