Mercurial > dovecot > original-hg > dovecot-1.2
comparison src/lib-storage/index/maildir/maildir-sync.c @ 5307:1e2b2b3f18e3 HEAD
Added casts to some enums to avoid compiler warnings.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Wed, 14 Mar 2007 18:17:49 +0200 |
parents | 1f737b6e911b |
children | 7d45edb81fe4 |
comparison
equal
deleted
inserted
replaced
5306:1c6c3d9494fb | 5307:1e2b2b3f18e3 |
---|---|
456 if (errno == ENOENT) | 456 if (errno == ENOENT) |
457 return 0; | 457 return 0; |
458 | 458 |
459 if (ENOSPACE(errno) || errno == EACCES) { | 459 if (ENOSPACE(errno) || errno == EACCES) { |
460 mail_index_update_flags(ctx->trans, ctx->seq, MODIFY_ADD, | 460 mail_index_update_flags(ctx->trans, ctx->seq, MODIFY_ADD, |
461 MAIL_INDEX_MAIL_FLAG_DIRTY); | 461 (enum mail_flags)MAIL_INDEX_MAIL_FLAG_DIRTY); |
462 ctx->dirty_state = 1; | 462 ctx->dirty_state = 1; |
463 return 1; | 463 return 1; |
464 } | 464 } |
465 | 465 |
466 mail_storage_set_critical(STORAGE(mbox->storage), | 466 mail_storage_set_critical(STORAGE(mbox->storage), |