[dovecot-cvs] dovecot/src/lib-storage/index/dbox dbox-uidlist.c,
1.10, 1.11
cras at dovecot.org
cras at dovecot.org
Fri Jan 13 14:45:44 EET 2006
Update of /var/lib/cvs/dovecot/src/lib-storage/index/dbox
In directory talvi:/tmp/cvs-serv25319/lib-storage/index/dbox
Modified Files:
dbox-uidlist.c
Log Message:
Compiler warning fix
Index: dbox-uidlist.c
===================================================================
RCS file: /var/lib/cvs/dovecot/src/lib-storage/index/dbox/dbox-uidlist.c,v
retrieving revision 1.10
retrieving revision 1.11
diff -u -d -r1.10 -r1.11
--- dbox-uidlist.c 13 Jan 2006 12:45:10 -0000 1.10
+++ dbox-uidlist.c 13 Jan 2006 12:45:42 -0000 1.11
@@ -957,7 +957,7 @@
file->output = o_stream_create_crlf(default_pool, output);
o_stream_unref(output);
- if (st.st_size < sizeof(struct dbox_file_header)) {
+ if ((uoff_t)st.st_size < sizeof(struct dbox_file_header)) {
if (dbox_file_write_header(mbox, file) < 0) {
dbox_file_close(file);
return -1;
More information about the dovecot-cvs
mailing list