[dovecot-cvs] dovecot/src/lib-storage/index/maildir maildir-sync.c, 1.90, 1.91

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


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

Modified Files:
	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.90
retrieving revision 1.91
diff -u -d -r1.90 -r1.91
--- maildir-sync.c	6 Mar 2007 20:36:45 -0000	1.90
+++ maildir-sync.c	14 Mar 2007 16:17:52 -0000	1.91
@@ -458,7 +458,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