dovecot-1.2: Compiler warning fixes.

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 10 23:50:15 EEST 2009


details:   http://hg.dovecot.org/dovecot-1.2/rev/35c5f8d064f5
changeset: 9377:35c5f8d064f5
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 10 16:50:11 2009 -0400
description:
Compiler warning fixes.

diffstat:

1 file changed, 2 insertions(+), 2 deletions(-)
src/lib-dict/dict-sql.c |    4 ++--

diffs (21 lines):

diff -r f2a6a99ff9ea -r 35c5f8d064f5 src/lib-dict/dict-sql.c
--- a/src/lib-dict/dict-sql.c	Thu Sep 10 14:09:23 2009 -0400
+++ b/src/lib-dict/dict-sql.c	Thu Sep 10 16:50:11 2009 -0400
@@ -492,7 +492,7 @@ sql_dict_transaction_commit(struct dict_
 			ret = -1;
 		} else {
 			while (ctx->inc_row != NULL) {
-				i_assert(ctx->inc_row->rows != -1UL);
+				i_assert(ctx->inc_row->rows != -1U);
 				if (ctx->inc_row->rows == 0) {
 					ret = 0;
 					break;
@@ -715,7 +715,7 @@ sql_dict_next_inc_row(struct sql_dict_tr
 	}
 	row = p_new(ctx->inc_row_pool, struct sql_dict_inc_row, 1);
 	row->prev = ctx->inc_row;
-	row->rows = -1UL;
+	row->rows = -1U;
 	ctx->inc_row = row;
 	return &row->rows;
 }


More information about the dovecot-cvs mailing list