]> git.ipfire.org Git - thirdparty/dovecot/core.git/commitdiff
Compiler warning fixes.
authorTimo Sirainen <tss@iki.fi>
Sun, 20 Jul 2008 17:29:37 +0000 (20:29 +0300)
committerTimo Sirainen <tss@iki.fi>
Sun, 20 Jul 2008 17:29:37 +0000 (20:29 +0300)
--HG--
branch : HEAD

src/lib-index/mail-cache-fields.c
src/tests/test-lib.c

index c0036eab064a18e532fb33701afccf5cc21dc808..bcdda91ae58f2b6381ce48133f7a7cd21eafee89 100644 (file)
@@ -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 {
index 7e83f332654bc534d4b5835aa8f69700ab121cf2..c8257c8c7eb9c8a7407f251185308987fb591e8b 100644 (file)
@@ -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;