dovecot-2.0: Compiler warning fixes.

dovecot at dovecot.org dovecot at dovecot.org
Thu Sep 10 23:49:55 EEST 2009


details:   http://hg.dovecot.org/dovecot-2.0/rev/b1857ba4347a
changeset: 9920:b1857ba4347a
user:      Timo Sirainen <tss at iki.fi>
date:      Thu Sep 10 16:49:44 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 d39dbfad7f69 -r b1857ba4347a src/lib-dict/dict-sql.c
--- a/src/lib-dict/dict-sql.c	Thu Sep 10 14:10:29 2009 -0400
+++ b/src/lib-dict/dict-sql.c	Thu Sep 10 16:49:44 2009 -0400
@@ -493,7 +493,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;
@@ -716,7 +716,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