From: Timo Sirainen Date: Sun, 20 Jul 2008 17:29:37 +0000 (+0300) Subject: Compiler warning fixes. X-Git-Tag: 1.2.alpha1~135 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=39e8567467cfe8eb63c00708a8653e92758908b9;p=thirdparty%2Fdovecot%2Fcore.git Compiler warning fixes. --HG-- branch : HEAD --- diff --git a/src/lib-index/mail-cache-fields.c b/src/lib-index/mail-cache-fields.c index c0036eab06..bcdda91ae5 100644 --- a/src/lib-index/mail-cache-fields.c +++ b/src/lib-index/mail-cache-fields.c @@ -482,7 +482,7 @@ int mail_cache_header_fields_update(struct mail_cache *cache) return ret; } - if (mail_cache_lock(cache, NULL) <= 0) + if (mail_cache_lock(cache, FALSE) <= 0) return -1; T_BEGIN { diff --git a/src/tests/test-lib.c b/src/tests/test-lib.c index 7e83f33265..c8257c8c7e 100644 --- a/src/tests/test-lib.c +++ b/src/tests/test-lib.c @@ -18,7 +18,7 @@ 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;