diff options
author | Michael Zucci <zucchi@src.gnome.org> | 2001-01-12 11:43:53 +0800 |
---|---|---|
committer | Michael Zucci <zucchi@src.gnome.org> | 2001-01-12 11:43:53 +0800 |
commit | 01a5bc2c2c4ff45929078632294d53660d6263ee (patch) | |
tree | 0dfe0427ec3b96172fd8eef741b4f7bc295d4755 | |
parent | c9246a157e1dae8c34a6559f75fa47883debe40f (diff) | |
download | gsoc2013-evolution-01a5bc2c2c4ff45929078632294d53660d6263ee.tar gsoc2013-evolution-01a5bc2c2c4ff45929078632294d53660d6263ee.tar.gz gsoc2013-evolution-01a5bc2c2c4ff45929078632294d53660d6263ee.tar.bz2 gsoc2013-evolution-01a5bc2c2c4ff45929078632294d53660d6263ee.tar.lz gsoc2013-evolution-01a5bc2c2c4ff45929078632294d53660d6263ee.tar.xz gsoc2013-evolution-01a5bc2c2c4ff45929078632294d53660d6263ee.tar.zst gsoc2013-evolution-01a5bc2c2c4ff45929078632294d53660d6263ee.zip |
(camel_folder_thread_messages_new): Added casts to rmeove some
warnings for the analites out there.
svn path=/trunk/; revision=7426
-rw-r--r-- | camel/ChangeLog | 4 | ||||
-rw-r--r-- | camel/camel-folder-thread.c | 4 |
2 files changed, 5 insertions, 3 deletions
diff --git a/camel/ChangeLog b/camel/ChangeLog index bc3945c5fc..caacbba30d 100644 --- a/camel/ChangeLog +++ b/camel/ChangeLog @@ -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): 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; |