From df46f3e4ddddddf7302edca3fa2b98cb68ac8df2 Mon Sep 17 00:00:00 2001 From: Ezra Peisach Date: Mon, 24 Jul 2000 16:16:28 +0000 Subject: * 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 --- src/util/profile/test_parse.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/util/profile/test_parse.c') 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); } -- cgit