summaryrefslogtreecommitdiffstats
path: root/src/util/profile/test_parse.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/util/profile/test_parse.c')
-rw-r--r--src/util/profile/test_parse.c5
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);
}