From 01a5bc2c2c4ff45929078632294d53660d6263ee Mon Sep 17 00:00:00 2001 From: Michael Zucci Date: Fri, 12 Jan 2001 03:43:53 +0000 Subject: (camel_folder_thread_messages_new): Added casts to rmeove some warnings for the analites out there. svn path=/trunk/; revision=7426 --- camel/camel-folder-thread.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'camel/camel-folder-thread.c') diff --git a/camel/camel-folder-thread.c b/camel/camel-folder-thread.c index 2e71189946..2e84e73767 100644 --- a/camel/camel-folder-thread.c +++ b/camel/camel-folder-thread.c @@ -537,7 +537,7 @@ camel_folder_thread_messages_new(CamelFolder *folder, GPtrArray *uids) sort_thread(&head); /* remove any phantom nodes, this could possibly be put in group_root_set()? */ - c = &head; + c = (CamelFolderThreadNode *)&head; while (c->next) { CamelFolderThreadNode *scan, *newtop; @@ -548,7 +548,7 @@ camel_folder_thread_messages_new(CamelFolder *folder, GPtrArray *uids) c->next = newtop; /* link its siblings onto the end of its children */ - scan = &newtop->child; + scan = (CamelFolderThreadNode *)&newtop->child; while (scan->next) scan = scan->next; scan->next = newtop->next; -- cgit