dovecot-1.2: Compiler warning fixes.
dovecot at dovecot.org
dovecot at dovecot.org
Sun Jul 20 20:29:48 EEST 2008
details: http://hg.dovecot.org/dovecot-1.2/rev/ff6ccf848cc1
changeset: 8026:ff6ccf848cc1
user: Timo Sirainen <tss at iki.fi>
date: Sun Jul 20 20:29:37 2008 +0300
description:
Compiler warning fixes.
diffstat:
2 files changed, 2 insertions(+), 2 deletions(-)
src/lib-index/mail-cache-fields.c | 2 +-
src/tests/test-lib.c | 2 +-
diffs (24 lines):
diff -r 09295548c123 -r ff6ccf848cc1 src/lib-index/mail-cache-fields.c
--- a/src/lib-index/mail-cache-fields.c Sun Jul 20 20:17:46 2008 +0300
+++ b/src/lib-index/mail-cache-fields.c Sun Jul 20 20:29:37 2008 +0300
@@ -482,7 +482,7 @@ int mail_cache_header_fields_update(stru
return ret;
}
- if (mail_cache_lock(cache, NULL) <= 0)
+ if (mail_cache_lock(cache, FALSE) <= 0)
return -1;
T_BEGIN {
diff -r 09295548c123 -r ff6ccf848cc1 src/tests/test-lib.c
--- a/src/tests/test-lib.c Sun Jul 20 20:17:46 2008 +0300
+++ b/src/tests/test-lib.c Sun Jul 20 20:29:37 2008 +0300
@@ -18,7 +18,7 @@ static void test_array(void)
static void test_array(void)
{
ARRAY_DEFINE(intarr, int);
- int input[] = { -1234567890, -272585721, 2724859223, 824725652 };
+ int input[] = { -1234567890, -272585721, 2724859223U, 824725652 };
const int *output;
unsigned int i, j;
bool success = TRUE;
More information about the dovecot-cvs
mailing list