projects
/
krb5.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c8c8392
)
Fix type const vs. non-const problems
author
Theodore Tso
<tytso@mit.edu>
Fri, 21 Apr 1995 01:19:12 +0000
(
01:19
+0000)
committer
Theodore Tso
<tytso@mit.edu>
Fri, 21 Apr 1995 01:19:12 +0000
(
01:19
+0000)
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@5419
dc483132
-0cff-0310-8789-
dd5450dbe970
src/util/profile/test_profile.c
patch
|
blob
|
history
diff --git
a/src/util/profile/test_profile.c
b/src/util/profile/test_profile.c
index 83768f30a6a09c3014ce3a47d83dffb2476a8992..c6dfaa62a86c095032babb261dba9d8c8009e04d 100644
(file)
--- 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);