diff options
| author | Ezra Peisach <epeisach@mit.edu> | 2000-07-24 16:16:28 +0000 |
|---|---|---|
| committer | Ezra Peisach <epeisach@mit.edu> | 2000-07-24 16:16:28 +0000 |
| commit | df46f3e4ddddddf7302edca3fa2b98cb68ac8df2 (patch) | |
| tree | c6a49c7baf8cc0cd6351a733a5a94a84b9dd9019 /src/util/profile/test_parse.c | |
| parent | 80c58c2c1a01da0e6a066b2be1a569d4ab624672 (diff) | |
| download | krb5-df46f3e4ddddddf7302edca3fa2b98cb68ac8df2.tar.gz krb5-df46f3e4ddddddf7302edca3fa2b98cb68ac8df2.tar.xz krb5-df46f3e4ddddddf7302edca3fa2b98cb68ac8df2.zip | |
* prof_init.c: Cleanup internal type warnings in calls to profile_init
* test_parse.c (main): Cast arguments to error_message.
* prof_file.c (profile_open_file): Variable with argument to
malloc should be unsigned.
* profile.hin: Revert changes to const_profile_filespect_t and
profile_filespec_t to preserve interface.
git-svn-id: svn://anonsvn.mit.edu/krb5/trunk@12585 dc483132-0cff-0310-8789-dd5450dbe970
Diffstat (limited to 'src/util/profile/test_parse.c')
| -rw-r--r-- | src/util/profile/test_parse.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/util/profile/test_parse.c b/src/util/profile/test_parse.c index 29e2b5940..438675058 100644 --- a/src/util/profile/test_parse.c +++ b/src/util/profile/test_parse.c @@ -32,7 +32,8 @@ int main(argc, argv) retval = profile_parse_file(f, &root); if (retval) { - printf("profile_parse_file error %s\n", error_message(retval)); + printf("profile_parse_file error %s\n", + error_message((errcode_t) retval)); exit(1); } fclose(f); @@ -43,7 +44,7 @@ int main(argc, argv) retval = profile_verify_node(root); if (retval) { printf("profile_verify_node reported an error: %s\n", - error_message(retval)); + error_message((errcode_t) retval)); exit(1); } |
