diff options
| author | Theodore Tso <tytso@mit.edu> | 1995-04-21 01:19:12 +0000 |
|---|---|---|
| committer | Theodore Tso <tytso@mit.edu> | 1995-04-21 01:19:12 +0000 |
| commit | 69f214822efb4d9dab6a9f4650f56e856a9381b1 (patch) | |
| tree | 7e8f93f76f351648b5b8a6b969139153179b33bf /src | |
| parent | c8c8392ae815d9226e653304c7c7c99b2a98bf33 (diff) | |
Fix type const vs. non-const problems
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5419 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src')
| -rw-r--r-- | src/util/profile/test_profile.c | 4 |
1 files changed, 3 insertions, 1 deletions
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); |
