[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-sync.c, 1.77.2.6, 1.77.2.7

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


Update of /var/lib/cvs/dovecot/src/lib-storage/index/maildir
In directory talvi:/tmp/cvs-serv11513/lib-storage/index/maildir

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



Index: maildir-sync.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/maildir/maildir-sync.c,v
retrieving revision 1.77.2.6
retrieving revision 1.77.2.7
diff -u -d -r1.77.2.6 -r1.77.2.7
--- maildir-sync.c	6 Mar 2007 20:36:42 -0000	1.77.2.6
+++ maildir-sync.c	14 Mar 2007 16:17:47 -0000	1.77.2.7
@@ -461,7 +461,7 @@
 
 	if (ENOSPACE(errno) || errno == EACCES) {
 		mail_index_update_flags(ctx->trans, ctx->seq, MODIFY_ADD,
-					MAIL_INDEX_MAIL_FLAG_DIRTY);
+			(enum mail_flags)MAIL_INDEX_MAIL_FLAG_DIRTY);
 		ctx->dirty_state = 1;
 		return 1;
 	}



More information about the dovecot-cvs mailing list