changeset 8026:ff6ccf848cc1 HEAD

Compiler warning fixes.
author Timo Sirainen <tss@iki.fi>
date Sun, 20 Jul 2008 20:29:37 +0300
parents 09295548c123
children 62cf70991cf2
files src/lib-index/mail-cache-fields.c src/tests/test-lib.c
diffstat 2 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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 @@
 		return ret;
 	}
 
-	if (mail_cache_lock(cache, NULL) <= 0)
+	if (mail_cache_lock(cache, FALSE) <= 0)
 		return -1;
 
 	T_BEGIN {
--- 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)
 {
 	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;