[Commits] extension-loader.c 1.3 1.4

miras at claws-mail.org miras at claws-mail.org
Tue Dec 13 15:56:31 CET 2011


Update of /home/claws-mail/contacts/src
In directory claws-mail:/tmp/cvs-serv26200/src

Modified Files:
	extension-loader.c 
Log Message:
2011-12-13 [mir]	0.6.0cvs45

	* extensions/export/ldifexport_extension.c
	* extensions/export/wizard.c
	* src/extension-loader.c
	    Making some type casting to shutup lame
	    compiler warnings. 

Index: extension-loader.c
===================================================================
RCS file: /home/claws-mail/contacts/src/extension-loader.c,v
retrieving revision 1.3
retrieving revision 1.4
diff -u -d -r1.3 -r1.4
--- extension-loader.c	13 Dec 2011 10:39:56 -0000	1.3
+++ extension-loader.c	13 Dec 2011 14:56:29 -0000	1.4
@@ -426,11 +426,11 @@
 	if (menu_item->submenu) {
 		for (cur = user_menu_items; cur && ! menu; cur = g_slist_next(cur)) {
 			UserMenuItem* item = (UserMenuItem *) cur->data;
-			if (utf8_collate(item->parent, menu_item->parent) == 0) {
-				if (utf8_collate(item->sublabel, menu_item->sublabel) == 0 ||
-					utf8_collate(item->parent, item->sublabel) == 0) {
+			if (utf8_collate((gchar *) item->parent, (gchar *) menu_item->parent) == 0) {
+				if (utf8_collate((gchar *) item->sublabel, (gchar *) menu_item->sublabel) == 0 ||
+					utf8_collate((gchar *) item->parent, (gchar *) item->sublabel) == 0) {
 					menu = item->menu;
-					if (utf8_collate(item->parent, item->sublabel) == 0)
+					if (utf8_collate((gchar *) item->parent, (gchar *) item->sublabel) == 0)
 						force = TRUE;
 				}
 			}



More information about the Commits mailing list