[dovecot-cvs] dovecot/src/imap cmd-list.c,1.51.2.8,1.51.2.9

tss at dovecot.org tss at dovecot.org
Wed Mar 14 18:17:47 EET 2007


Update of /var/lib/cvs/dovecot/src/imap
In directory talvi:/tmp/cvs-serv11513/imap

Modified Files:
      Tag: branch_1_0
	cmd-list.c 
Log Message:
Added casts to some enums to avoid compiler warnings.



Index: cmd-list.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/imap/cmd-list.c,v
retrieving revision 1.51.2.8
retrieving revision 1.51.2.9
diff -u -d -r1.51.2.8 -r1.51.2.9
--- cmd-list.c	6 Mar 2007 17:43:54 -0000	1.51.2.8
+++ cmd-list.c	14 Mar 2007 16:17:44 -0000	1.51.2.9
@@ -445,7 +445,7 @@
 		/* LIST - allow children flags, but don't require them */
 		list_flags = 0;
 	} else {
-		list_flags = _MAILBOX_LIST_LISTEXT;
+		list_flags = (enum mailbox_list_flags)_MAILBOX_LIST_LISTEXT;
 		if (!parse_list_flags(cmd, IMAP_ARG_LIST(&args[0])->args,
 				      &list_flags))
 			return TRUE;



More information about the dovecot-cvs mailing list