From 1957762cbf5375928fd0fe3fedb3b63850425e9e Mon Sep 17 00:00:00 2001 From: Jeffrey Stedfast Date: Fri, 14 Jun 2002 21:33:45 +0000 Subject: Fixed compiler warnings. 2002-06-14 Jeffrey Stedfast * camel-arg.c: * camel-disco-diary.c: * camel-index-control.c: * camel-mime-part.c: * camel-pgp-mime.c: * camel-store.c: * camel-tcp-stream-ssl.c: * camel-text-index.c: Fixed compiler warnings. svn path=/trunk/; revision=17187 --- camel/camel-index-control.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'camel/camel-index-control.c') 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)); -- cgit