Mercurial > dovecot > original-hg > dovecot-1.2
changeset 9377:35c5f8d064f5 HEAD
Compiler warning fixes.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Thu, 10 Sep 2009 16:50:11 -0400 |
parents | f2a6a99ff9ea |
children | f6d668562f5f |
files | src/lib-dict/dict-sql.c |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- 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 @@ 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 @@ } 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; }