[Dovecot] Warnings compiling on OpenBSD 4.4 i386

Timo Sirainen tss at iki.fi
Sun Jan 4 14:00:06 EET 2009


On Jan 3, 2009, at 10:46 PM, Peter Lindgren wrote:

> mail-index-map.c: In function `mail_index_map_ext_hdr_check':
> mail-index-map.c:171: warning: comparison between signed and unsigned
> mail-index-map.c: In function `mail_index_map_clone':
> mail-index-map.c:1112: warning: comparison between signed and unsigned
>
> mail-index-sync-update.c: In function `sync_header_update':
> mail-index-sync-update.c:419: warning: comparison between signed and  
> unsigned
>
> mail-transaction-log-file.c: In function  
> `log_file_track_mailbox_sync_offset_hdr':
> mail-transaction-log-file.c:682: warning: comparison between signed  
> and unsigned

What gcc version? I think these are fixed in newer ones so I'd rather  
not make Dovecot's code uglier by adding unnecessary casts.

> passdb-bsdauth.c: In function `bsdauth_preinit':
> passdb-bsdauth.c:59: warning: implicit declaration of function  
> `auth_cache_parse_key'
> passdb-bsdauth.c:60: warning: assignment makes pointer from integer  
> without a cast

This should fix it: http://hg.dovecot.org/dovecot-1.1/rev/33b8b74a3140



More information about the dovecot mailing list