From: Timo Sirainen Date: Tue, 21 Feb 2012 20:58:05 +0000 (+0200) Subject: Compiler warning fix. X-Git-Tag: 2.1.1~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=aa01480188ab99f2b37abea08898d5bacd4e0848;p=thirdparty%2Fdovecot%2Fcore.git Compiler warning fix. --- diff --git a/src/lib-storage/index/dbox-single/sdbox-sync.c b/src/lib-storage/index/dbox-single/sdbox-sync.c index 31d4363088..2ebfb1616d 100644 --- a/src/lib-storage/index/dbox-single/sdbox-sync.c +++ b/src/lib-storage/index/dbox-single/sdbox-sync.c @@ -53,7 +53,7 @@ static void sdbox_sync_file(struct sdbox_sync_context *ctx, modify_type = type == SDBOX_SYNC_ENTRY_TYPE_MOVE_TO_ALT ? MODIFY_ADD : MODIFY_REMOVE; mail_index_update_flags(ctx->trans, seq, modify_type, - DBOX_INDEX_FLAG_ALT); + (enum mail_flags)DBOX_INDEX_FLAG_ALT); file = sdbox_file_init(ctx->mbox, uid); dbox_sync_file_move_if_needed(file, type); dbox_file_unref(&file);