[dovecot-cvs] dovecot/src/imap cmd-list.c,1.63,1.64

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


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

Modified Files:
	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.63
retrieving revision 1.64
diff -u -d -r1.63 -r1.64
--- cmd-list.c	6 Mar 2007 17:43:59 -0000	1.63
+++ cmd-list.c	14 Mar 2007 16:17:49 -0000	1.64
@@ -452,7 +452,8 @@
 		/* LIST - allow children flags, but don't require them */
 		list_flags = 0;
 	} else {
-		list_flags = _MAILBOX_LIST_ITER_LISTEXT;
+		list_flags =
+			(enum mailbox_list_flags)_MAILBOX_LIST_ITER_LISTEXT;
 		if (!parse_list_flags(cmd, IMAP_ARG_LIST(&args[0])->args,
 				      &list_flags))
 			return TRUE;



More information about the dovecot-cvs mailing list