(camel_folder_thread_messages_new): Added casts to rmeove some
authorMichael Zucci <zucchi@src.gnome.org>
Fri, 12 Jan 2001 03:43:53 +0000 (03:43 +0000)
committerMichael Zucci <zucchi@src.gnome.org>
Fri, 12 Jan 2001 03:43:53 +0000 (03:43 +0000)
warnings for the analites out there.

camel/ChangeLog
camel/camel-folder-thread.c

index bc3945c..caacbba 100644 (file)
@@ -3,7 +3,9 @@
        * camel-folder-thread.c (camel_folder_thread_messages_new):
        Perform a final pass, removing any pseudo nodes we added earlier.
        Quick patch to test the idea.
-       
+       (camel_folder_thread_messages_new): Added casts to rmeove some
+       warnings for the analites out there.
+
 2001-01-11  Dan Winship  <danw@ximian.com>
 
        * providers/imap/camel-imap-folder.c (camel_imap_folder_selected):
index 2e71189..2e84e73 100644 (file)
@@ -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;