aboutsummaryrefslogtreecommitdiffstats
path: root/camel/camel-index-control.c
diff options
context:
space:
mode:
Diffstat (limited to 'camel/camel-index-control.c')
-rw-r--r--camel/camel-index-control.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/camel/camel-index-control.c b/camel/camel-index-control.c
index f1f4dd234d..335f8cc3b1 100644
--- a/camel/camel-index-control.c
+++ b/camel/camel-index-control.c
@@ -71,7 +71,7 @@ do_dump(int argc, char **argv)
idx = (CamelIndex *)camel_text_index_new(argv[i], O_RDONLY);
if (idx) {
printf(" Dumping ...\n");
- camel_text_index_dump(idx);
+ camel_text_index_dump((CamelTextIndex *)idx);
camel_object_unref((CamelObject *)idx);
} else {
printf(" Failed: %s\n", strerror(errno));
@@ -91,7 +91,7 @@ do_info(int argc, char **argv)
printf("Opening index file: %s\n", argv[i]);
idx = (CamelIndex *)camel_text_index_new(argv[i], O_RDONLY);
if (idx) {
- camel_text_index_info(idx);
+ camel_text_index_info((CamelTextIndex *)idx);
camel_object_unref((CamelObject *)idx);
} else {
printf(" Failed: %s\n", strerror(errno));
@@ -111,7 +111,7 @@ do_check(int argc, char **argv)
printf("Opening index file: %s\n", argv[i]);
idx = (CamelIndex *)camel_text_index_new(argv[i], O_RDONLY);
if (idx) {
- camel_text_index_validate(idx);
+ camel_text_index_validate((CamelTextIndex *)idx);
camel_object_unref((CamelObject *)idx);
} else {
printf(" Failed: %s\n", strerror(errno));